getSegmentStart method

Coordinate getSegmentStart()

Gets the first {@link Coordinate} of the current segment. (the coordinate of the current vertex). @return a {@link Coordinate}

Implementation

Coordinate getSegmentStart() {
  return currentLine!.getCoordinateN(vertexIndex);
}