org.geolatte.geom.G2DM 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 geographic {@code Position} with a measure value.
*
* @author Karel Maesen, Geovise BVBA
* creation-date: 2/19/14
*/
public class G2DM extends G2D implements Measured {
public G2DM() {
super();
}
public G2DM(double lon, double lat, double m) {
super(lon, lat, m);
}
@Override
public double getM() {
return getCoordinate(2);
}
@Override
public int getCoordinateDimension() {
return 3;
}
}