get End Point Index From Segment Index
For a segment at a specified segmentIndex the method returns the point index of the segment's end point.
Return
the end point index of the given segment, or -1 if the segment index is out of range
Since
200.1.0
Parameters
segment Index
Zero-based index of the segment.