CoordinateXY.fromCoordinate constructor

CoordinateXY.fromCoordinate(
  1. Coordinate coord
)

Constructs a CoordinateXY instance with the x and y ordinates of the given Coordinate.

@param coord the Coordinate providing the ordinates

Implementation

CoordinateXY.fromCoordinate(Coordinate coord) : super(coord.x, coord.y);