toCoordinateArray abstract method

List<Coordinate> toCoordinateArray()

Returns (possibly copies of) the Coordinates in this collection. Whether or not the Coordinates returned are the actual underlying Coordinates or merely copies depends on the implementation. Note that if this implementation does not store its data as an array of Coordinates, this method will incur a performance penalty because the array needs to be built from scratch.

@return a array of coordinates containing the point values in this sequence

Implementation

List<Coordinate> toCoordinateArray();