getSegmentIndexFromEndPointIndex

Converts from a point index to a segment index that uses the given point as an end point. If the point is not an end point then -1 is returned.

Return

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

Since

200.1.0

Parameters

pointIndex

Zero-based index of the point.