public class BodyFacade extends Object
Constructor and Description |
---|
BodyFacade(String name,
CelestialBody body)
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
static BodyFacade |
create(CenterName centerName)
Create a body facade from an input center name.
|
CelestialBody |
getBody()
Get the celestial body.
|
String |
getName()
Get the CCSDS name for the body.
|
public BodyFacade(String name, CelestialBody body)
name
- name of the framebody
- celestial body (may be null)public String getName()
public CelestialBody getBody()
@DefaultDataContext public static BodyFacade create(CenterName centerName)
This method uses the default data context
.
centerName
- input center nameCopyright © 2002-2022 CS GROUP. All rights reserved.