public class Part extends AbstractPart
-Class to manage the assembly's part (the main part is excluded).
-Contains the part's local frame and properties.
IPart
,
Serialized FormConstructor and Description |
---|
Part(String name,
IPart parentPart,
Transform transform)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
UpdatableFrame |
getFrame() |
Transform |
getTransform()
Returns the transform linking the part to its parent part.
|
void |
updateFrame(AbsoluteDate date)
Update frame at provided date.
|
void |
updateFrame(SpacecraftState s)
Update frame with provided spacecraft state.
|
void |
updateFrame(Transform t) |
addProperty, getName, getParent, getPartLevel, getProperty, hasProperty
public final void updateFrame(AbsoluteDate date)
date
- datepublic final void updateFrame(SpacecraftState s)
s
- spacecraft statepublic final 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 failspublic final UpdatableFrame getFrame()
public final Transform getTransform()
Copyright © 2021 CNES. All rights reserved.