public class StelaSpaceObject extends Object implements Serializable
StelaSpacecraftFactory| Constructor and Description |
|---|
StelaSpaceObject()
Basis constructor.
|
StelaSpaceObject(String name,
double mass,
double dragArea,
double reflectingArea,
double reflectCoef,
AbstractStelaDragCoef dragCoef)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
StelaSpaceObject |
copy()
Copy space object.
|
double |
getDragArea()
Gets the drag area of the object.
|
AbstractStelaDragCoef |
getDragCoef()
Gets the drag coefficient associated with the object.
|
String |
getInformation(boolean dragSwitch,
boolean srpSwitch)
Get information on the space object in a string.
|
double |
getMass()
Gets the mass of the object.
|
String |
getName()
Gets the name of the object.
|
double |
getReflectingArea()
Gets the reflecting area of the object.
|
double |
getReflectionCoef()
Gets the reflection coefficient of the object.
|
void |
reSetReflectivityCoef()
Reset the reflectivity Coefficient of SpaceObject to
Constants.STELA_SPACE_OBJECT_REFLECT_COEF. |
void |
setDragCoef(AbstractStelaDragCoef dragCoef)
Sets the drag coefficient associated with the object.
|
void |
setMass(double mass)
Sets the mass of the object.
|
void |
setMeanArea(Double dragArea)
Sets the mean drag area of the object.
|
void |
setName(String name)
Sets the name of the object.
|
void |
setReflectingArea(Double reflectingArea)
Sets the reflecting area of the object.
|
void |
setReflectionCoef(Double reflectivityCoefficient)
Sets the reflection coefficient of the object.
|
public StelaSpaceObject(String name, double mass, double dragArea, double reflectingArea, double reflectCoef, AbstractStelaDragCoef dragCoef)
name - the namemass - mass of the space object (kg)dragArea - drag surface of the space object (m2)reflectingArea - reflecting area of the space object (m2)reflectCoef - reflection coefficient of the space objectdragCoef - drag coefficient of the space objectpublic StelaSpaceObject()
public final String getName()
public final double getMass()
public AbstractStelaDragCoef getDragCoef()
public final double getDragArea()
public final double getReflectingArea()
public final double getReflectionCoef()
public final void setName(String name)
name - the new name of the objectpublic final void setMass(double mass)
mass - the new mass of the objectpublic final void setDragCoef(AbstractStelaDragCoef dragCoef)
dragCoef - the new drag coefficientpublic final void setMeanArea(Double dragArea)
dragArea - the new drag areapublic final void setReflectingArea(Double reflectingArea)
reflectingArea - the new reflecting areapublic final void setReflectionCoef(Double reflectivityCoefficient)
reflectivityCoefficient - the new reflection coefficientpublic String getInformation(boolean dragSwitch, boolean srpSwitch) throws PatriusException
dragSwitch - drag switch (true if drag is taken into account)srpSwitch - SRP switch (true if SRP is taken into account)PatriusExceptionpublic void reSetReflectivityCoef()
Constants.STELA_SPACE_OBJECT_REFLECT_COEF.public StelaSpaceObject copy() throws PatriusException
PatriusExceptionCopyright © 2025 CNES. All rights reserved.