|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.cnes.sirius.patrius.assembly.MainPart
public class MainPart
-Class to manage the assembly's main part.
-Contains the assembly's main frame and the main part's properties.
IPart| Constructor Summary | |
|---|---|
MainPart(String inName)
Constructor of the main part. |
|
| Method Summary | |
|---|---|
void |
addProperty(IPartProperty property)
Adds a property to the part. |
Frame |
getFrame()
|
String |
getName()
|
IPart |
getParent()
Returns null : this part has no parent. |
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. |
boolean |
isLinkedToOrekitTree()
|
void |
reinitializeFrame()
This method implements no action for the main part. |
void |
setFrame(UpdatableFrame inFrame)
Method to modify the frame of the main part. |
void |
updateFrame(Transform inTransform)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MainPart(String inName)
inName - the name of the main part| Method Detail |
|---|
public final String getName()
getName in interface IPartpublic final IPart getParent()
getParent in interface IPartpublic final Frame getFrame()
getFrame in interface IPartpublic final IPartProperty getProperty(PropertyType propertyType)
IPart
getProperty in interface IPartpropertyType - the type of the wanted property
public final void addProperty(IPartProperty property)
IPart
addProperty in interface IPartproperty - the propertypublic final boolean hasProperty(PropertyType propertyType)
IPart
hasProperty in interface IPartpropertyType - the type
public final int getPartLevel()
getPartLevel in interface IPartpublic void reinitializeFrame()
reinitializeFrame in interface IPart
public final void updateFrame(Transform inTransform)
throws OrekitException
updateFrame in interface IPartinTransform - new transformation to be applied
Updates the part's frame with a new definition of its Transform.
OrekitException - if update failspublic final void setFrame(UpdatableFrame inFrame)
inFrame - the new frame of the main partpublic final boolean isLinkedToOrekitTree()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||