public class EarthLocationTuple extends RealTuple implements EarthLocation
DataImpl.Syncher| Modifier and Type | Field and Description |
|---|---|
static Unit[] |
DEFAULT_UNITS |
ABS, ACOS, ACOS_DEGREES, ADD, ASIN, ASIN_DEGREES, ATAN, ATAN_DEGREES, ATAN2, ATAN2_DEGREES, CEIL, COS, COS_DEGREES, DEGREES_TO_RADIANS, DEPENDENT, DIVIDE, EXP, FLOOR, INDEPENDENT, INV_ATAN2, INV_ATAN2_DEGREES, INV_DIVIDE, INV_POW, INV_REMAINDER, INV_SUBTRACT, LOG, MAX, MIN, MULTIPLY, NEAREST_NEIGHBOR, NEGATE, NO_ERRORS, NOP, POW, RADIANS_TO_DEGREES, REMAINDER, RINT, ROUND, SIN, SIN_DEGREES, SQRT, SUBTRACT, TAN, TAN_DEGREES, WEIGHTED_AVERAGE| Constructor and Description |
|---|
EarthLocationTuple()
Construct an EarthLocationTuple with missing values
|
EarthLocationTuple(double lat,
double lon,
double alt)
Construct an EarthLocationTuple from double values of lat, lon, alt
|
EarthLocationTuple(LatLonPoint latlon,
Real alt)
Construct an EarthLocationTuple from a LatLonPoint and an altitude
|
EarthLocationTuple(Real lat,
Real lon,
Real alt)
Construct an EarthLocationTuple from Reals of lat, lon, alt
|
EarthLocationTuple(Real lat,
Real lon,
Real alt,
Unit[] units,
boolean checkUnits)
Construct an EarthLocationTuple from Reals of lat, lon, alt
|
| Modifier and Type | Method and Description |
|---|---|
Real |
getAltitude()
Get the altitude of this location
|
Real |
getLatitude()
Get the latitude of this location
|
LatLonPoint |
getLatLonPoint()
Get the lat/lon of this location as a LatLonPoint
|
Real |
getLongitude()
Get the longitude of this location
|
java.lang.String |
toString()
Provide a String representation of this RealTuple.
|
addReference, binary, clone, computeRanges, getCoordinateSystem, getErrors, getTupleUnits, getValues, longString, main, removeReference, unary__getitem__, __len__, adjustSamplingError, buildTupleType, equals, getComponent, getComponents, getComponents, getDimension, getLength, getRealComponents, hashCode, isMissing, makeTuple__add__, __add__, __div__, __div__, __mod__, __mod__, __mul__, __mul__, __neg__, __pow__, __pow__, __radd__, __rdiv__, __rmod__, __rmul__, __rpow__, __rsub__, __sub__, __sub__, abs, abs, acos, acos, acosDegrees, acosDegrees, add, add, asin, asin, asinDegrees, asinDegrees, atan, atan, atan2, atan2, atan2Degrees, atan2Degrees, atanDegrees, atanDegrees, binary, ceil, ceil, changeMathType, computeRanges, computeRanges, cos, cos, cosDegrees, cosDegrees, dataClone, divide, divide, exp, exp, floor, floor, getType, local, log, log, longString, max, max, min, min, multiply, multiply, negate, negate, notifyReferences, pow, pow, remainder, remainder, rint, rint, round, round, sin, sin, sinDegrees, sinDegrees, sqrt, sqrt, subtract, subtract, tan, tan, tanDegrees, tanDegrees, unaryequals, finalize, getClass, notify, notifyAll, wait, wait, waitequalsabs, abs, acos, acos, acosDegrees, acosDegrees, add, add, adjustSamplingError, asin, asin, asinDegrees, asinDegrees, atan, atan, atan2, atan2, atan2Degrees, atan2Degrees, atanDegrees, atanDegrees, binary, binary, ceil, ceil, changeMathType, computeRanges, computeRanges, computeRanges, cos, cos, cosDegrees, cosDegrees, dataClone, divide, divide, exp, exp, floor, floor, getType, isMissing, local, log, log, longString, longString, max, max, min, min, multiply, multiply, negate, negate, pow, pow, remainder, remainder, rint, rint, round, round, sin, sin, sinDegrees, sinDegrees, sqrt, sqrt, subtract, subtract, tan, tan, tanDegrees, tanDegrees, unary, unaryaddReference, removeReferenceadjustSamplingError, getComponent, getDimension, getRealComponents, isMissingpublic static final Unit[] DEFAULT_UNITS
public EarthLocationTuple()
throws VisADException,
java.rmi.RemoteException
VisADException - unable to create necessary VisAD objectjava.rmi.RemoteException - unable to create necessary remote objectpublic EarthLocationTuple(Real lat, Real lon, Real alt) throws VisADException, java.rmi.RemoteException
lat - Real representing the latitudelon - Real representing the longitudealt - Real representing the altitudeVisADException - unable to create necessary VisAD objectjava.rmi.RemoteException - unable to create necessary remote objectpublic EarthLocationTuple(Real lat, Real lon, Real alt, Unit[] units, boolean checkUnits) throws VisADException, java.rmi.RemoteException
lat - Real representing the latitudelon - Real representing the longitudealt - Real representing the altitudeunits - array of Units. Must be same as Real units or nullcheckUnits - true if should check the unitsVisADException - unable to create necessary VisAD objectjava.rmi.RemoteException - unable to create necessary remote objectpublic EarthLocationTuple(double lat,
double lon,
double alt)
throws VisADException,
java.rmi.RemoteException
lat - latitude (degrees North positive)lon - longitude (degrees East positive)alt - altitude (meters above sea level)VisADException - unable to create necessary VisAD objectjava.rmi.RemoteException - unable to create necessary remote objectpublic EarthLocationTuple(LatLonPoint latlon, Real alt) throws VisADException, java.rmi.RemoteException
latlon - LatLonPointalt - Real representing the altitudeVisADException - unable to create necessary VisAD objectjava.rmi.RemoteException - unable to create necessary remote objectpublic Real getLatitude()
getLatitude in interface LatLonPointpublic Real getLongitude()
getLongitude in interface LatLonPointpublic Real getAltitude()
getAltitude in interface EarthLocationpublic LatLonPoint getLatLonPoint()
getLatLonPoint in interface EarthLocationpublic java.lang.String toString()
RealTupletoString in interface RealTupleIfacetoString in class RealTuple