public class DatumSphere extends Datum
unitSphere, wgs84, wgs84sphere
Constructor and Description |
---|
DatumSphere(double radius) |
Modifier and Type | Method and Description |
---|---|
LatLonGeo |
displace(LatLonGeo from,
double dist,
double azimuth) |
double |
getAzimuth(LatLonGeo from,
LatLonGeo to) |
double |
getDistance(LatLonGeo from,
LatLonGeo to) |
DistanceAzimuth |
getDistanceAzimuth(LatLonGeo from,
LatLonGeo to) |
double |
getRadius() |
DatumSphere |
getSphereApproximation() |
boolean |
isSpherical() |
LatLonGeo |
toLatLonGeo(double x,
double y,
double z) |
LatLonGeo |
toLatLonGeo(LatLonRect from) |
LatLonRect |
toLatLonRect(double northLatRad,
double eastLonRad,
double altitude) |
LatLonRect |
toLatLonRect(LatLonGeo from) |
LatLonGeo |
toWgs84(LatLonGeo llg)
Converts geocentric latitude to a geodetic latitude.
|
equals, fromEnu, getEccentricity, getEccentricitySquared, getEquatorialRadius, getFlattening, getPolarRadius, hashCode, toEnu, toGeocentricLatitude, toGeodeticLatitude
public LatLonGeo toLatLonGeo(LatLonRect from)
toLatLonGeo
in class Datum
public LatLonGeo toLatLonGeo(double x, double y, double z)
toLatLonGeo
in class Datum
public LatLonRect toLatLonRect(LatLonGeo from)
toLatLonRect
in class Datum
public LatLonRect toLatLonRect(double northLatRad, double eastLonRad, double altitude)
toLatLonRect
in class Datum
public double getDistance(LatLonGeo from, LatLonGeo to)
getDistance
in class Datum
public double getAzimuth(LatLonGeo from, LatLonGeo to)
getAzimuth
in class Datum
public DistanceAzimuth getDistanceAzimuth(LatLonGeo from, LatLonGeo to)
getDistanceAzimuth
in class Datum
public boolean isSpherical()
isSpherical
in class Datum
public DatumSphere getSphereApproximation()
getSphereApproximation
in class Datum
public LatLonGeo toWgs84(LatLonGeo llg)
Datum.toGeodeticLatitude(LatLonGeo)
.
NOTE: Altitude is passed through unchanged.
public double getRadius()
Copyright © 2016 Metron, Inc.. All rights reserved.