getMaximumSegmentIndex method

int getMaximumSegmentIndex()

Implementation

int getMaximumSegmentIndex() {
  return pts.length - 1;
}