getSegmentIndexFromStartPointIndex

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.

Return

the segment index containing the given start point, or -1 if the point index is not a start point or is out of range

Since

200.1.0

Parameters

pointIndex

Zero-based index of the point.