Segment Index From Start Point Index
Converts from a point index to a segment index that uses the given point as a start point. If the point is not a start point then -1 is returned.
the segment index containing the given start point, or -1 if the point index is not a start point or is out of range
Zero-based index of the point.