Interface TriangleMesh.Face
-
- All Superinterfaces:
Mesh.Face
- All Known Implementing Classes:
SimpleTriangleMesh.SimpleTriangleFace
- Enclosing interface:
- TriangleMesh
public static interface TriangleMesh.Face extends Mesh.Face
Interface representing a single triangular face in a mesh.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Vector3D
getPoint1()
Get the first vertex in the face.Vector3D
getPoint2()
Get the second vertex in the face.Vector3D
getPoint3()
Get the third vertex in the face.Triangle3D
getPolygon()
Get the 3D polygon defined by this face.-
Methods inherited from interface org.apache.commons.geometry.euclidean.threed.mesh.Mesh.Face
definesPolygon, getIndex, getVertexIndices, getVertices
-
-
-
-
Method Detail
-
getPoint1
Vector3D getPoint1()
Get the first vertex in the face.- Returns:
- the first vertex in the face
-
getPoint2
Vector3D getPoint2()
Get the second vertex in the face.- Returns:
- the second vertex in the face
-
getPoint3
Vector3D getPoint3()
Get the third vertex in the face.- Returns:
- the third vertex in the face
-
getPolygon
Triangle3D getPolygon()
Get the 3D polygon defined by this face.- Specified by:
getPolygon
in interfaceMesh.Face
- Returns:
- the 3D polygon defined by this face
- See Also:
Mesh.Face.definesPolygon()
-
-