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

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

public final class RadiativeSphereProperty
extends Object
implements IPartProperty

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 12592 2015-03-12 08:35:32Z bignon $
Author:
Gerald Mercadier
Concurrency :
immutable

Constructor Summary
RadiativeSphereProperty(double inSphereRadius)
          Constructor with radius.
RadiativeSphereProperty(Parameter inSphereArea)
          Constructor with area.
 
Method Summary
 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)

getType

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

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


Copyright © 2016 CNES. All Rights Reserved.