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 class
SpacecraftBodyFrame.BaseEquipment
Equipment 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.BaseEquipment
getBaseEquipment()
Get the quipment on which the frame is located.String
getLabel()
Get the frame label.static SpacecraftBodyFrame
parse(String descriptor)
Build an instance from a normalized descriptor.String
toString()
-
-
-
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 equipment
and 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
-
-