CoordinateXYM.fromCoordinate constructor

CoordinateXYM.fromCoordinate(
  1. Coordinate coord
)

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

@param coord the coordinate providing the ordinates

Implementation

CoordinateXYM.fromCoordinate(Coordinate coord) : super(coord.x, coord.y) {
  m = getM();
}