Class ModifiedFrame
java.lang.Object
org.orekit.frames.Frame
org.orekit.files.ccsds.definitions.ModifiedFrame
A reference frame created from the
REF_FRAME and CENTER_NAME is a CCSDS
OPM, OMM, or OEM file.- Author:
- Evan Ward
-
Constructor Summary
ConstructorsConstructorDescriptionModifiedFrame(Frame frame, CelestialBodyFrame refFrame, CelestialBody body, String centerName) Create a CCSDS reference frame that is centered onbodyand aligned withframe.ModifiedFrame(Frame frame, CelestialBodyFrame refFrame, CelestialBody body, String centerName, String frameName) Create a CCSDS reference frame that is centered onbodyand aligned withframe. -
Method Summary
Modifier and TypeMethodDescriptionGet the CCSDS center name.Get the CCSDS reference frame.Methods inherited from class org.orekit.frames.Frame
getAncestor, getDepth, getFrozenFrame, getKinematicTransformTo, getKinematicTransformTo, getName, getParent, getPeer, getRoot, getStaticTransformTo, getStaticTransformTo, getTransformProvider, getTransformTo, getTransformTo, isChildOf, isPseudoInertial, setPeerCaching, toString
-
Constructor Details
-
ModifiedFrame
public ModifiedFrame(Frame frame, CelestialBodyFrame refFrame, CelestialBody body, String centerName) Create a CCSDS reference frame that is centered onbodyand aligned withframe.Callers should check that the requested frame is not already stored somewhere else. For example, Earth-centered ICRF is
Frames.getGCRF().OrekitCcsdsFrameMapperperforms the checking for CCSDS frames that Orekit implements.- Parameters:
frame- the existing frame that specifies the orientation.refFrame- the reference frame used to createframe.body- the origin.centerName- the value of theCENTER_NAMEkey word used to createbody.- See Also:
-
ModifiedFrame
public ModifiedFrame(Frame frame, CelestialBodyFrame refFrame, CelestialBody body, String centerName, String frameName) Create a CCSDS reference frame that is centered onbodyand aligned withframe.Callers should check that the requested frame is not already stored somewhere else. For example, Earth-centered ICRF is
Frames.getGCRF().OrekitCcsdsFrameMapperperforms the checking for CCSDS frames that Orekit implements.- Parameters:
frame- the existing frame that specifies the orientation.refFrame- the reference frame used to createframe.body- the origin.centerName- the value of theCENTER_NAMEkey word used to createbody.frameName- the name of this frame, returned byFrame.getName().- Since:
- 14.0
- See Also:
-
-
Method Details
-
getRefFrame
Get the CCSDS reference frame.- Returns:
- the reference frame used to create this frame.
-
getCenterName
Get the CCSDS center name.- Returns:
- the value of the
CENTER_NAMEkey word used to specify the origin of this frame.
-