fr.cnes.sirius.patrius.assembly.properties
Class RadiativeSphereProperty

java.lang.Object
  extended by fr.cnes.sirius.patrius.assembly.properties.RadiativeCrossSectionProperty
      extended by fr.cnes.sirius.patrius.assembly.properties.RadiativeSphereProperty
All Implemented Interfaces:
IPartProperty

public final class RadiativeSphereProperty
extends RadiativeCrossSectionProperty

This class is a part property for the PATRIUS assembly. It allows the radiative model to use the part with this property.

Since:
1.1
Version:
$Id: RadiativeSphereProperty.java 17588 2017-05-10 13:31:54Z bignon $
Author:
Gerald Mercadier
Concurrency :
immutable

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

RadiativeSphereProperty

public RadiativeSphereProperty(double inSphereRadius)
Constructor with radius.

Parameters:
inSphereRadius - the sphere radius (m)

RadiativeSphereProperty

public RadiativeSphereProperty(Parameter inSphereArea)
                        throws OrekitException
Constructor with area.

Parameters:
inSphereArea - the sphere area (m2)
Throws:
OrekitException - thrown if parameter is unknown
Method Detail

getSphereRadius

public double getSphereRadius()
                       throws OrekitException
Get the sphere radius.

Returns:
the sphere radius (m)
Throws:
OrekitException - thrown if radius is undefined (negative area)

getSphereArea

public double getSphereArea()
Get the sphere area.

Returns:
the sphere area (m2)

getCrossSection

public double getCrossSection(SpacecraftState state,
                              Vector3D flux,
                              Frame mainPartFrame,
                              Frame partFrame)
                       throws OrekitException
Description copied from class: RadiativeCrossSectionProperty
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).

Overrides:
getCrossSection in class RadiativeCrossSectionProperty
Parameters:
state - the current state of the spacecraft
flux - the incoming flux in the state frame
mainPartFrame - main frame
partFrame - frame of part owning the property
Returns:
the cross section of the main shape.
Throws:
OrekitException - if some frame specific error occurs

getType

public PropertyType getType()
Description copied from interface: IPartProperty
Get the type of the property.

Specified by:
getType in interface IPartProperty
Overrides:
getType in class RadiativeCrossSectionProperty
Returns:
the type of the property (see PropertyType enumeration)


Copyright © 2017 CNES. All Rights Reserved.