Sliding pairs - a method for finding reference points on curves