public class SpacecraftParameters extends CommentsContainer implements Data
Constructor and Description |
---|
SpacecraftParameters()
Create an empty state data set.
|
Modifier and Type | Method and Description |
---|---|
double |
getDragArea()
Get the drag area.
|
double |
getDragCoeff()
Get the drag coefficient.
|
double |
getMass()
Get the spacecraft mass.
|
double |
getSolarRadArea()
Get the solar radiation pressure area.
|
double |
getSolarRadCoeff()
Get the solar radiation pressure coefficient.
|
void |
setDragArea(double dragArea)
Set the drag area.
|
void |
setDragCoeff(double dragCoeff)
Set the drag coefficient.
|
void |
setMass(double mass)
Set the spacecraft mass.
|
void |
setSolarRadArea(double solarRadArea)
Set the solar radiation pressure area.
|
void |
setSolarRadCoeff(double solarRadCoeff)
Get the solar radiation pressure coefficient.
|
void |
validate(double version)
Check is all mandatory entries have been initialized.
|
acceptComments, addComment, checkAllowed, checkNotNaN, checkNotNegative, checkNotNull, getComments, refuseFurtherComments
public SpacecraftParameters()
public void validate(double version)
This method should throw an exception if some mandatory entries are missing or not compatible with version number.
validate
in interface Section
validate
in class CommentsContainer
version
- format versionpublic double getMass()
public void setMass(double mass)
mass
- the spacecraft mass to be setpublic double getSolarRadArea()
public void setSolarRadArea(double solarRadArea)
solarRadArea
- the area to be setpublic double getSolarRadCoeff()
public void setSolarRadCoeff(double solarRadCoeff)
solarRadCoeff
- the coefficient to be setpublic double getDragArea()
public void setDragArea(double dragArea)
dragArea
- the area to be setpublic double getDragCoeff()
public void setDragCoeff(double dragCoeff)
dragCoeff
- the coefficient to be setCopyright © 2002-2023 CS GROUP. All rights reserved.