Package org.geolatte.geom
Class M
- java.lang.Object
-
- org.geolatte.geom.Position
-
- org.geolatte.geom.M
-
public class M extends Position
Created by Karel Maesen, Geovise BVBA on 29/11/14.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCoordinateDimension()doublegetValue()-
Methods inherited from class org.geolatte.geom.Position
equals, getCoordinate, getCoordinate, getCoordinate, hashCode, isEmpty, toArray, toString
-
-
-
-
Constructor Detail
-
M
public M()
Constructs an empty instance
-
M
public M(double value)
Constructs an instance with the specified longitude and latitude- Parameters:
value- the vertical value
-
M
protected M(double... coords)
Constructs an instance from the specified coordinates. It expects first the longitude, then the latitude coordinate- Parameters:
coords-
-
-
Method Detail
-
getValue
public double getValue()
-
getCoordinateDimension
public int getCoordinateDimension()
- Specified by:
getCoordinateDimensionin classPosition
-
-