Class ConvexPolyhedron3D.TriangularFace
java.lang.Object
org.episteme.core.mathematics.geometry.boundaries.ConvexPolyhedron3D.TriangularFace
- All Implemented Interfaces:
Boundary3D.Face
- Enclosing class:
ConvexPolyhedron3D
Represents a triangular face.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetArea()Returns the area of this face.Returns the outward-facing normal vector.Returns the vertices of this face.booleanChecks if a point is in front of this face (outside the polyhedron).Signed distance from a point to the plane of this face.
-
Constructor Details
-
TriangularFace
-
-
Method Details
-
getVertices
Description copied from interface:Boundary3D.FaceReturns the vertices of this face.- Specified by:
getVerticesin interfaceBoundary3D.Face- Returns:
- list of vertices
-
getNormal
Description copied from interface:Boundary3D.FaceReturns the outward-facing normal vector.- Specified by:
getNormalin interfaceBoundary3D.Face- Returns:
- the normal
-
getArea
Description copied from interface:Boundary3D.FaceReturns the area of this face.- Specified by:
getAreain interfaceBoundary3D.Face- Returns:
- the area
-
signedDistanceTo
-
isInFront
Checks if a point is in front of this face (outside the polyhedron).
-