getCoordinateAt method

Coordinate? getCoordinateAt(
  1. int n
)

Returns the Coordinate at the given position.

@param n the index of the Coordinate to retrieve, beginning at 0 @return the nth Coordinate

Implementation

Coordinate? getCoordinateAt(int n) {
  return (geometries[n] as Point).getCoordinate();
}