org.orekit.forces
Class BoxAndSolarArraySpacecraft.Facet

java.lang.Object
  extended by org.orekit.forces.BoxAndSolarArraySpacecraft.Facet
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
BoxAndSolarArraySpacecraft

public static class BoxAndSolarArraySpacecraft.Facet
extends java.lang.Object
implements java.io.Serializable

Class representing a single facet of a convex spacecraft body.

Instance of this class are guaranteed to be immutable.

Version:
$Revision: 3197 $ $Date: 2010-04-28 10:39:09 +0200 (mer. 28 avril 2010) $
Author:
Luc Maisonobe
See Also:
Serialized Form

Constructor Summary
BoxAndSolarArraySpacecraft.Facet(org.apache.commons.math.geometry.Vector3D normal, double area)
          Simple constructor.
 
Method Summary
 double getArea()
          Get facet area.
 org.apache.commons.math.geometry.Vector3D getNormal()
          Get unit normal vector.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BoxAndSolarArraySpacecraft.Facet

public BoxAndSolarArraySpacecraft.Facet(org.apache.commons.math.geometry.Vector3D normal,
                                        double area)
Simple constructor.

Parameters:
normal - vector normal to the facet, pointing outward (will be normalized)
area - facet area in m2
Method Detail

getNormal

public org.apache.commons.math.geometry.Vector3D getNormal()
Get unit normal vector.

Returns:
unit normal vector

getArea

public double getArea()
Get facet area.

Returns:
facet area


Copyright © 2002-2010 CS Communication & Systèmes. All Rights Reserved.