Package com.epimorphics.geo
Class LatLonE
- java.lang.Object
-
- com.epimorphics.geo.LatLonE
-
public class LatLonE extends Object
lat/lon (polar) point with latitude & longitude values and height above ellipsoid, on a specified datum.
-
-
Constructor Summary
Constructors Constructor Description LatLonE(double lat, double lon)LatLonE(double lat, double lon, double height)LatLonE(double lat, double lon, LatLonDatum datum)LatLonE(double lat, double lon, LatLonDatum datum, double height)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LatLonEconvertDatum(LatLonDatum toDatum)Converts ‘this’ lat/lon coordinate to new coordinate system.doublegetLat()doublegetLon()Vector3dtoCartesian()Converts ‘this’ point from polar (lat/lon) coordinates to cartesian (x/y/z) coordinates.
-
-
-
Constructor Detail
-
LatLonE
public LatLonE(double lat, double lon, LatLonDatum datum, double height)
-
LatLonE
public LatLonE(double lat, double lon, LatLonDatum datum)
-
LatLonE
public LatLonE(double lat, double lon, double height)
-
LatLonE
public LatLonE(double lat, double lon)
-
-
Method Detail
-
getLat
public double getLat()
-
getLon
public double getLon()
-
convertDatum
public LatLonE convertDatum(LatLonDatum toDatum)
Converts ‘this’ lat/lon coordinate to new coordinate system.
-
toCartesian
public Vector3d toCartesian()
Converts ‘this’ point from polar (lat/lon) coordinates to cartesian (x/y/z) coordinates.
-
-