JTS Core 1.17.1
Packages
Classes
Search
About
Top
CoordinateXYZM()
CoordinateXYZM(double, double, double, double)
CoordinateXYZM(Coordinate)
CoordinateXYZM(CoordinateXYZM)
copy(): CoordinateXYZM
getM(): double
setM(double): void
getOrdinate(int): double
setCoordinate(Coordinate): void
setOrdinate(int, double): void
toString(): String
Bottom
Source
Classic
org.locationtech.jts.geom
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()