Package org.orekit.rugged.utils
Class NormalizedGeodeticPoint
- java.lang.Object
-
- org.orekit.bodies.GeodeticPoint
-
- org.orekit.rugged.utils.NormalizedGeodeticPoint
-
- All Implemented Interfaces:
Serializable
public class NormalizedGeodeticPoint extends GeodeticPoint
Geodetic point whose longitude can be selected with respect to the 2π boundary.- Author:
- Luc Maisonobe
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.orekit.bodies.GeodeticPoint
NORTH_POLE, SOUTH_POLE
-
-
Constructor Summary
Constructors Constructor Description NormalizedGeodeticPoint(double latitude, double longitude, double altitude, double centralLongitude)
Build a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object object)
double
getLongitude()
Get the longitude.int
hashCode()
-
Methods inherited from class org.orekit.bodies.GeodeticPoint
getAltitude, getEast, getLatitude, getNadir, getNorth, getSouth, getWest, getZenith, toString
-
-
-
-
Constructor Detail
-
NormalizedGeodeticPoint
public NormalizedGeodeticPoint(double latitude, double longitude, double altitude, double centralLongitude)
Build a new instance. The angular coordinates will be normalized to ensure that the latitude is between ±π/2 and the longitude is between lc-π and lc+π.- Parameters:
latitude
- latitude of the pointlongitude
- longitude of the pointaltitude
- altitude of the pointcentralLongitude
- central longitude lc
-
-
Method Detail
-
getLongitude
public double getLongitude()
Get the longitude.- Overrides:
getLongitude
in classGeodeticPoint
- Returns:
- longitude, an angular value in the range [lc-π, lc+π], where l₀ was selected at construction
-
equals
public boolean equals(Object object)
- Overrides:
equals
in classGeodeticPoint
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classGeodeticPoint
-
-