Class SpacecraftBodyFrame
- java.lang.Object
-
- org.orekit.files.ccsds.definitions.SpacecraftBodyFrame
-
public class SpacecraftBodyFrame extends Object
Frames used in CCSDS Attitude Data Messages for the spacecraft body.- Since:
- 11.0
- Author:
- Luc Maisonobe
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSpacecraftBodyFrame.BaseEquipmentEquipment on which the frame is located.
-
Constructor Summary
Constructors Constructor Description SpacecraftBodyFrame(SpacecraftBodyFrame.BaseEquipment baseEquipment, String label)Simple constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SpacecraftBodyFrame.BaseEquipmentgetBaseEquipment()Get the quipment on which the frame is located.StringgetLabel()Get the frame label.static SpacecraftBodyFrameparse(String descriptor)Build an instance from a normalized descriptor.StringtoString()
-
-
-
Constructor Detail
-
SpacecraftBodyFrame
public SpacecraftBodyFrame(SpacecraftBodyFrame.BaseEquipment baseEquipment, String label)
Simple constructor.- Parameters:
baseEquipment- equipment on which the frame is locatedlabel- frame label
-
-
Method Detail
-
getBaseEquipment
public SpacecraftBodyFrame.BaseEquipment getBaseEquipment()
Get the quipment on which the frame is located.- Returns:
- equipment on which the frame is located
-
getLabel
public String getLabel()
Get the frame label.- Returns:
- frame label
-
toString
public String toString()
The CCSDS composite name combines the
base equipmentand thegetLabel()
-
parse
public static SpacecraftBodyFrame parse(String descriptor)
Build an instance from a normalized descriptor.Normalized strings have '_' characters replaced by spaces, and multiple spaces collapsed as one space only.
- Parameters:
descriptor- normalized descriptor- Returns:
- parsed body frame
-
-