size method

int size()
override

Returns the size of the coordinate sequence

@return the number of coordinates

Implementation

int size() {
  return coordinates!.length;
}