Interface TriangleMesh.Face
- All Superinterfaces:
Mesh.Face
- All Known Implementing Classes:
SimpleTriangleMesh.SimpleTriangleFace
- Enclosing interface:
TriangleMesh
Interface representing a single triangular face in a mesh.
-
Method Summary
Modifier and TypeMethodDescriptionGet the first vertex in the face.Get the second vertex in the face.Get the third vertex in the face.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 Details
-
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:
-