public class RadiativeCrossSectionProperty extends Object implements IPartProperty
Constructor and Description |
---|
RadiativeCrossSectionProperty(CrossSectionProvider shape)
Constructor of this property defining the vehicle main shape.
|
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) . |
PropertyType |
getType()
Get the type of the property.
|
public RadiativeCrossSectionProperty(CrossSectionProvider shape)
shape
- the main shapepublic double getCrossSection(SpacecraftState state, Vector3D flux, Frame mainPartFrame, Frame partFrame) throws PatriusException
CrossSectionProvider.getCrossSection(Vector3D)
.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()
getType
in interface IPartProperty
Copyright © 2021 CNES. All rights reserved.