Package uk.ac.rdg.resc.edal.position
Class VerticalPosition
- java.lang.Object
-
- uk.ac.rdg.resc.edal.position.VerticalPosition
-
- All Implemented Interfaces:
Comparable<VerticalPosition>
public class VerticalPosition extends Object implements Comparable<VerticalPosition>
Defines the position of a point in vertical space.- Author:
- Guy Griffiths, Jon Blower
-
-
Constructor Summary
Constructors Constructor Description VerticalPosition(double z, VerticalCrs crs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(VerticalPosition o)
boolean
equals(Object obj)
VerticalCrs
getCoordinateReferenceSystem()
Returns a vertical coordinate reference system.double
getZ()
Returns the vertical coordinate of this positionint
hashCode()
-
-
-
Constructor Detail
-
VerticalPosition
public VerticalPosition(double z, VerticalCrs crs)
-
-
Method Detail
-
getZ
public double getZ()
Returns the vertical coordinate of this position
-
getCoordinateReferenceSystem
public VerticalCrs getCoordinateReferenceSystem()
Returns a vertical coordinate reference system.
-
compareTo
public int compareTo(VerticalPosition o)
- Specified by:
compareTo
in interfaceComparable<VerticalPosition>
-
-