org.geolatte.geom.C3DM Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of geolatte-geom Show documentation
Show all versions of geolatte-geom Show documentation
This geoLatte-geom library offers a geometry model that conforms to the OGC Simple Features for SQL
specification.
The newest version!
package org.geolatte.geom;
/**
* A cartesian {@code Position} with both an z and a measure value.
*
* @author Karel Maesen, Geovise BVBA
* creation-date: 2/19/14
*/
public class C3DM extends C3D implements Measured {
public C3DM() {
super();
}
public C3DM(double x, double y, double z, double m) {
super(x, y, z, m);
}
@Override
public double getM() {
return getCoordinate(3);
}
@Override
public int getCoordinateDimension() {
return 4;
}
}