Interface TriangleMesh
-
- All Superinterfaces:
BoundarySource<PlaneConvexSubset>
,BoundarySource3D
,Linecastable3D
,Mesh<TriangleMesh.Face>
- All Known Implementing Classes:
SimpleTriangleMesh
public interface TriangleMesh extends Mesh<TriangleMesh.Face>
Interface representing a mesh composed entirely of triangular faces.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
TriangleMesh.Face
Interface representing a single triangular face in a mesh.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TriangleMesh
transform(Transform<Vector3D> transform)
Return a new, transformed mesh by applying the given transform to all vertices.-
Methods inherited from interface org.apache.commons.geometry.core.partitioning.BoundarySource
boundaryStream
-
Methods inherited from interface org.apache.commons.geometry.euclidean.threed.BoundarySource3D
getBounds, linecast, linecastFirst, toList, toTree, toTriangleMesh, triangleStream
-
Methods inherited from interface org.apache.commons.geometry.euclidean.threed.line.Linecastable3D
linecast, linecastFirst
-
Methods inherited from interface org.apache.commons.geometry.euclidean.threed.mesh.Mesh
faces, getFace, getFaceCount, getFaces, getVertexCount, getVertices, vertices
-
-
-
-
Method Detail
-
transform
TriangleMesh transform(Transform<Vector3D> transform)
Return a new, transformed mesh by applying the given transform to all vertices. Faces and vertex ordering are not affected.- Specified by:
transform
in interfaceMesh<TriangleMesh.Face>
- Parameters:
transform
- transform to apply- Returns:
- a new, transformed mesh
-
-