|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object fr.cnes.sirius.patrius.assembly.properties.RadiativeCrossSectionProperty fr.cnes.sirius.patrius.assembly.properties.RadiativeSphereProperty
public final class RadiativeSphereProperty
This class is a part property for the PATRIUS assembly. It allows the radiative model to use the part with this property.
Constructor Summary | |
---|---|
RadiativeSphereProperty(double inSphereRadius)
Constructor with radius. |
|
RadiativeSphereProperty(Parameter inSphereArea)
Constructor with area. |
Method Summary | |
---|---|
double |
getCrossSection(SpacecraftState state,
Vector3D flux,
Frame mainPartFrame,
Frame partFrame)
Compute the cross section of main shape using the relative velocity in the part (having the aero property) frame as the direction to provider to the CrossSectionProvider.getCrossSection(Vector3D) . |
double |
getSphereArea()
Get the sphere area. |
double |
getSphereRadius()
Get the sphere radius. |
PropertyType |
getType()
Get the type of the property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RadiativeSphereProperty(double inSphereRadius)
inSphereRadius
- the sphere radius (m)public RadiativeSphereProperty(Parameter inSphereArea) throws OrekitException
inSphereArea
- the sphere area (m2)
OrekitException
- thrown if parameter is unknownMethod Detail |
---|
public double getSphereRadius() throws OrekitException
OrekitException
- thrown if radius is undefined (negative area)public double getSphereArea()
public double getCrossSection(SpacecraftState state, Vector3D flux, Frame mainPartFrame, Frame partFrame) throws OrekitException
RadiativeCrossSectionProperty
CrossSectionProvider.getCrossSection(Vector3D)
.
getCrossSection
in class RadiativeCrossSectionProperty
state
- the current state of the spacecraftflux
- the incoming flux in the state framemainPartFrame
- main framepartFrame
- frame of part owning the property
OrekitException
- if some frame specific error occurspublic PropertyType getType()
IPartProperty
getType
in interface IPartProperty
getType
in class RadiativeCrossSectionProperty
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |