public class MainPart extends AbstractPart
-Contains the assembly's main frame and the main part's properties.
IPart,
Serialized Form| Modifier and Type | Method and Description |
|---|---|
Frame |
getFrame() |
boolean |
isLinkedToOrekitTree()
Returns true if the part is linked to PATRIUS tree of frames.
|
void |
setFrame(UpdatableFrame frame)
Method to modify the frame of the main part.
|
void |
updateFrame(AbsoluteDate date)
This method implements no action for the main part.
|
void |
updateFrame(SpacecraftState s)
Update frame with provided spacecraft state.
|
void |
updateFrame(Transform transform) |
addProperty, getName, getParent, getPartLevel, getProperty, hasPropertypublic MainPart(String name)
name - the name of the main partpublic final Frame getFrame()
public void updateFrame(AbsoluteDate date)
date - datepublic final void updateFrame(Transform transform)
transform - new transformation to be applied
Updates the part's frame with a new definition of its Transform.public final void updateFrame(SpacecraftState s) throws PatriusException
s - spacecraft statePatriusException - thrown if update failspublic final void setFrame(UpdatableFrame frame)
frame - the new frame of the main partpublic final boolean isLinkedToOrekitTree()
Copyright © 2025 CNES. All rights reserved.