Package org.orekit.bodies
Class TimeStampedGeodeticPoint
- java.lang.Object
-
- org.orekit.bodies.GeodeticPoint
-
- org.orekit.bodies.TimeStampedGeodeticPoint
-
- All Implemented Interfaces:
Serializable,TimeShiftable<TimeStampedGeodeticPoint>,TimeStamped
public class TimeStampedGeodeticPoint extends GeodeticPoint implements TimeStamped, TimeShiftable<TimeStampedGeodeticPoint>
Implements a time-stampedGeodeticPoint.- Since:
- 13.1
- Author:
- Jérôme Tabeaud
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.orekit.bodies.GeodeticPoint
NORTH_POLE, SOUTH_POLE
-
-
Constructor Summary
Constructors Constructor Description TimeStampedGeodeticPoint(AbsoluteDate date, double latitude, double longitude, double altitude)Build a new instance from geodetic coordinates.TimeStampedGeodeticPoint(AbsoluteDate date, GeodeticPoint point)Build a new instance from aGeodeticPoint.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object object)AbsoluteDategetDate()Get the date.inthashCode()TimeStampedGeodeticPointshiftedBy(double dt)Get a time-shifted instance.StringtoString()-
Methods inherited from class org.orekit.bodies.GeodeticPoint
getAltitude, getEast, getLatitude, getLongitude, getNadir, getNorth, getSouth, getWest, getZenith
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.orekit.time.TimeShiftable
shiftedBy
-
Methods inherited from interface org.orekit.time.TimeStamped
durationFrom
-
-
-
-
Constructor Detail
-
TimeStampedGeodeticPoint
public TimeStampedGeodeticPoint(AbsoluteDate date, double latitude, double longitude, double altitude)
Build a new instance from geodetic coordinates.- Parameters:
date- date of the pointlatitude- geodetic latitude (rad)longitude- geodetic longitude (rad)altitude- altitude above ellipsoid (m)
-
TimeStampedGeodeticPoint
public TimeStampedGeodeticPoint(AbsoluteDate date, GeodeticPoint point)
Build a new instance from aGeodeticPoint.- Parameters:
date- date of the pointpoint- geodetic point
-
-
Method Detail
-
getDate
public AbsoluteDate getDate()
Description copied from interface:TimeStampedGet the date.- Specified by:
getDatein interfaceTimeStamped- Returns:
- date attached to the object
-
toString
public String toString()
- Overrides:
toStringin classGeodeticPoint
-
equals
public boolean equals(Object object)
- Overrides:
equalsin classGeodeticPoint
-
hashCode
public int hashCode()
- Overrides:
hashCodein classGeodeticPoint
-
shiftedBy
public TimeStampedGeodeticPoint shiftedBy(double dt)
Description copied from interface:TimeShiftableGet a time-shifted instance.- Specified by:
shiftedByin interfaceTimeShiftable<TimeStampedGeodeticPoint>- Parameters:
dt- time shift in seconds- Returns:
- a new instance, shifted with respect to instance (which is not changed)
-
-