public final class Facet extends Object implements CrossSectionProvider, Serializable
Note that the use of this class implies a constant area which may not be suited for some application such as reentry.
CrossSectionProvider
,
Serialized FormConstructor and Description |
---|
Facet(Vector3D inNormal,
double inArea)
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
double |
getArea() |
double |
getCrossSection(Vector3D direction)
Computes the cross section from the direction
defined by a Vector3D.
|
Vector3D |
getNormal() |
public Facet(Vector3D inNormal, double inArea)
inNormal
- vector normal to the facet. Facet should be oriented such that facet normal vector is outside
the spacecraft.inArea
- facet areapublic Vector3D getNormal()
public double getArea()
public double getCrossSection(Vector3D direction)
CrossSectionProvider
getCrossSection
in interface CrossSectionProvider
direction
- the direction vectorCopyright © 2019 CNES. All Rights Reserved.