public final class RadiativeSphereProperty extends RadiativeCrossSectionProperty
Constructor and Description |
---|
RadiativeSphereProperty(double inSphereRadius)
Constructor with radius.
|
RadiativeSphereProperty(Parameter inSphereArea)
Constructor with area.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public RadiativeSphereProperty(double inSphereRadius)
inSphereRadius
- the sphere radius (m)public RadiativeSphereProperty(Parameter inSphereArea)
inSphereArea
- the sphere area (m2)public double getSphereRadius() throws PatriusException
PatriusException
- thrown if radius is undefined (negative area)public double getSphereArea()
public double getCrossSection(SpacecraftState state, Vector3D flux, Frame mainPartFrame, Frame partFrame) throws PatriusException
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 propertyPatriusException
- if some frame specific error occurspublic PropertyType getType()
IPartProperty
getType
in interface IPartProperty
getType
in class RadiativeCrossSectionProperty
Copyright © 2019 CNES. All Rights Reserved.