public class FrameAdapter extends Object implements ExtendedPVCoordinatesProvider
Frame
to ExtendedPVCoordinatesProvider
.
The moving point is the origin of the adapted frame.
This class is roughly the inverse of ExtendedPVCoordinatesProviderAdapter
ExtendedPVCoordinatesProviderAdapter
Constructor and Description |
---|
FrameAdapter(Frame originFrame)
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
TimeStampedPVCoordinates |
getPVCoordinates(AbsoluteDate date,
Frame frame)
Get the
PVCoordinates of the body in the selected frame. |
<T extends org.hipparchus.CalculusFieldElement<T>> |
getPVCoordinates(FieldAbsoluteDate<T> date,
Frame frame)
Get the
FieldPVCoordinates of the body in the selected frame. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPosition, toFieldPVCoordinatesProvider
getPosition
public FrameAdapter(Frame originFrame)
originFrame
- frame whose origin coordinates are desiredpublic TimeStampedPVCoordinates getPVCoordinates(AbsoluteDate date, Frame frame)
PVCoordinates
of the body in the selected frame.getPVCoordinates
in interface PVCoordinatesProvider
date
- current dateframe
- the frame where to define the positionpublic <T extends org.hipparchus.CalculusFieldElement<T>> TimeStampedFieldPVCoordinates<T> getPVCoordinates(FieldAbsoluteDate<T> date, Frame frame)
FieldPVCoordinates
of the body in the selected frame.getPVCoordinates
in interface ExtendedPVCoordinatesProvider
T
- type for the field elementsdate
- current dateframe
- the frame where to define the positionCopyright © 2002-2023 CS GROUP. All rights reserved.