Interface TriangleMesh
- All Superinterfaces:
BoundarySource<PlaneConvexSubset>,BoundarySource3D,Linecastable3D,Mesh<TriangleMesh.Face>
- All Known Implementing Classes:
SimpleTriangleMesh
Interface representing a mesh composed entirely of triangular faces.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceInterface representing a single triangular face in a mesh. -
Method Summary
Modifier and TypeMethodDescriptionReturn a new, transformed mesh by applying the given transform to all vertices.Methods inherited from interface org.apache.commons.geometry.core.partitioning.BoundarySource
boundaryStreamMethods inherited from interface org.apache.commons.geometry.euclidean.threed.BoundarySource3D
getBounds, linecast, linecastFirst, toList, toTree, toTriangleMesh, triangleStreamMethods inherited from interface org.apache.commons.geometry.euclidean.threed.line.Linecastable3D
linecast, linecastFirstMethods inherited from interface org.apache.commons.geometry.euclidean.threed.mesh.Mesh
faces, getFace, getFaceCount, getFaces, getVertexCount, getVertices, vertices
-
Method Details
-
transform
Return a new, transformed mesh by applying the given transform to all vertices. Faces and vertex ordering are not affected.- Specified by:
transformin interfaceMesh<TriangleMesh.Face>- Parameters:
transform- transform to apply- Returns:
- a new, transformed mesh
-