Class BoxAndSolarArraySpacecraft.Facet

  • Enclosing class:
    BoxAndSolarArraySpacecraft

    public static class BoxAndSolarArraySpacecraft.Facet
    extends Object
    Class representing a single facet of a convex spacecraft body.

    Instance of this class are guaranteed to be immutable.

    Author:
    Luc Maisonobe
    • Constructor Detail

      • Facet

        public Facet​(org.hipparchus.geometry.euclidean.threed.Vector3D normal,
                     double area)
        Simple constructor.
        Parameters:
        normal - vector normal to the facet, pointing outward (will be normalized)
        area - facet area in m²
    • Method Detail

      • getNormal

        public org.hipparchus.geometry.euclidean.threed.Vector3D getNormal()
        Get unit normal vector.
        Returns:
        unit normal vector
      • getArea

        public double getArea()
        Get facet area.
        Returns:
        facet area