|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.orekit.parameter.Parameterizable
fr.cnes.sirius.patrius.assembly.properties.MassProperty
public final class MassProperty
This class is a part property for the PATRIUS assembly. It is the mass property of a part.
| Constructor Summary | |
|---|---|
MassProperty(double inMass)
Constructor of this property. |
|
MassProperty(Parameter inMass)
Constructor of this property using a Parameter. |
|
| Method Summary | |
|---|---|
double |
getMass()
Gets the mass of the part. |
PropertyType |
getType()
Get the type of the property. |
void |
updateMass(double newMass)
Updates the mass of the part. |
| Methods inherited from class org.orekit.parameter.Parameterizable |
|---|
addParameter, getParameters, supportsParameter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MassProperty(double inMass)
throws OrekitException
inMass - The mass of the part.
OrekitException - if inMass is negative (OrekitMessages.MASS_ARGUMENT_IS_NEGATIVE)
public MassProperty(Parameter inMass)
throws OrekitException
Parameter.
inMass - The mass of the part.
OrekitException - if inMass is negative (OrekitMessages.MASS_ARGUMENT_IS_NEGATIVE)| Method Detail |
|---|
public double getMass()
public void updateMass(double newMass)
throws OrekitException
newMass - the mass
OrekitException - if newMass is negative (OrekitMessages.MASS_ARGUMENT_IS_NEGATIVE)public PropertyType getType()
IPartProperty
getType in interface IPartProperty
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||