public interface IPart extends Serializable
Modifier and Type | Method and Description |
---|---|
void |
addProperty(IPartProperty property)
Adds a property to the part.
|
Frame |
getFrame() |
String |
getName() |
IPart |
getParent() |
int |
getPartLevel() |
IPartProperty |
getProperty(PropertyType propertyType)
Returns a property of the part : if in this part, one exists of the given type.
|
boolean |
hasProperty(PropertyType propertyType)
Checks if a property of the given type exists in this part.
|
void |
updateFrame(AbsoluteDate date)
Update frame at provided date.
|
void |
updateFrame(SpacecraftState s)
Update frame with provided spacecraft state.
|
void |
updateFrame(Transform t) |
String getName()
IPart getParent()
Frame getFrame()
IPartProperty getProperty(PropertyType propertyType)
propertyType
- the type of the wanted propertyvoid addProperty(IPartProperty property)
property
- the propertyboolean hasProperty(PropertyType propertyType)
propertyType
- the typeint getPartLevel()
void updateFrame(Transform t) throws PatriusException
t
- new transformation to be applied
Updates the part's frame with a new definition of its Transform.PatriusException
- if update failsvoid updateFrame(AbsoluteDate date)
date
- datevoid updateFrame(SpacecraftState s) throws PatriusException
s
- spacecraft statePatriusException
- thrown if update failsCopyright © 2020 CNES. All rights reserved.