comparePoint
Returns −1 if the point is before the range, 0 if the point is in the range, and 1 if the point is after the range.
Returns −1 if the point is before the range, 0 if the point is in the range, and 1 if the point is after the range.