Class CoordinateXYZM

Hierarchy: Object , Coordinate, CoordinateXYZM
All Implemented Interfaces: Cloneable , Comparable , Serializable
public class CoordinateXYZM
extends Coordinate
Coordinate subclass supporting XYZM ordinates.

This data object is suitable for use with coordinate sequences with dimension = 4 and measures = 1.

Since:
1.16
public CoordinateXYZM()
Default constructor
public CoordinateXYZM(double x, double y, double z, double m)
Constructs a CoordinateXYZM instance with the given ordinates and measure.
Parameters:
x - x the X ordinate
y - y the Y ordinate
z - z the Z ordinate
m - m the M measure value
public CoordinateXYZM(Coordinate coord)
Constructs a CoordinateXYZM instance with the ordinates of the given Coordinate.
Parameters:
coord - coord the coordinate providing the ordinates
public CoordinateXYZM(CoordinateXYZM coord)
Constructs a CoordinateXYZM instance with the ordinates of the given CoordinateXYZM.
Parameters:
coord - coord the coordinate providing the ordinates
public CoordinateXYZM copy()
Creates a copy of this CoordinateXYZM.
Returns:
a copy of this CoordinateXYZM
public double getM()
The m-measure, if available.
public void setM(double m)
public double getOrdinate(int ordinateIndex)
public void setCoordinate(Coordinate other)
public void setOrdinate(int ordinateIndex, double value)
public String toString()