Class ConvexHull3D.Face

java.lang.Object
org.episteme.core.mathematics.geometry.ConvexHull3D.Face
Enclosing class:
ConvexHull3D

public static final class ConvexHull3D.Face extends Object
Represents a triangular face of the hull.
Since:
1.0
Author:
Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
  • Constructor Details

  • Method Details

    • getVertices

      public Point3D[] getVertices()
    • getV1

      public Point3D getV1()
    • getV2

      public Point3D getV2()
    • getV3

      public Point3D getV3()
    • getNormal

      public Vector3D getNormal()
    • getArea

      public Real getArea()
    • signedDistanceTo

      public Real signedDistanceTo(Point3D p)
      Signed distance from a point to the plane of this face. Positive = in front (outside), negative = behind (inside).
    • isVisible

      public boolean isVisible(Point3D p)
      Checks if a point is in front of (outside) this face.
    • getCentroid

      public Point3D getCentroid()
      Returns the centroid of this face.
    • toString

      public String toString()
      Overrides:
      toString in class Object