Class BodyFacade
java.lang.Object
org.orekit.files.ccsds.definitions.BodyFacade
Facade in front of several center bodies in CCSDS messages.
- Since:
- 11.0
- Author:
- Luc Maisonobe
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BodyFacadecreate(CenterName centerName) Create a body facade from an input center name.static BodyFacadecreate(CenterName centerName, CelestialBodies bodies) Create a body facade from an input center name.static BodyFacadecreate(CenterName centerName, DataContext context) Create a body facade from an input center name.getBody()Get the celestial body.getName()Get the CCSDS name for the body.
-
Constructor Details
-
BodyFacade
Simple constructor.- Parameters:
name- name of the framebody- celestial body (may be null)
-
-
Method Details
-
getName
Get the CCSDS name for the body.- Returns:
- CCSDS name
-
getBody
Get the celestial body.- Returns:
- celestial body (may be null)
-
create
Create a body facade from an input center name.This method uses the
default data context.- Parameters:
centerName- input center name- Returns:
- a body facade corresponding to the input center name
- Since:
- 11.2
-
create
Create a body facade from an input center name.- Parameters:
centerName- input center namecontext- data context- Returns:
- a body facade corresponding to the input center name
- Since:
- 12.0
-
create
Create a body facade from an input center name.- Parameters:
centerName- input center namebodies- celestial bodies- Returns:
- a body facade corresponding to the input center name
- Since:
- 12.0
-