getCoordinate abstract method

Coordinate getCoordinate(
  1. int i
)

Returns (possibly a copy of) the i'th coordinate in this sequence. Whether or not the Coordinate returned is the actual underlying Coordinate or merely a copy depends on the implementation.

Note that in the future the semantics of this method may change to guarantee that the Coordinate returned is always a copy. Callers should not to assume that they can modify a CoordinateSequence by modifying the object returned by this method.

@param i the index of the coordinate to retrieve @return the i'th coordinate in the sequence

Implementation

Coordinate getCoordinate(int i);