Uses of Interface
com.solibri.geometry.mesh.TriangleMesh
Packages that use TriangleMesh
-
Uses of TriangleMesh in com.solibri.geometry.mesh
Methods in com.solibri.geometry.mesh that return TriangleMeshModifier and TypeMethodDescriptionstatic TriangleMesh
TriangleMesh.createEmpty()
Returns a new instance of an emptyTriangleMesh
.TriangleMesh.difference
(TriangleMesh other) Returns the difference of this triangle mesh and the given triangle mesh.TriangleMesh.filter
(Predicate<Triangle3d> filter) Returns a newTriangleMesh
composed of all the triangles of thisTriangleMesh
that satisfy the givenPredicate
.TriangleMesh.flipped()
Returns a version of thisTriangleMesh
where all the triangles have flipped normals, with the effect of exchanging the external faces with the internal faces if the mesh is closed.static TriangleMesh
TriangleMesh.fromPolygons
(Collection<? extends Polygon3d> polygons) Returns a new instance of aTriangleMesh
given the polygons that form it.static TriangleMesh
TriangleMesh.fromTriangles
(Collection<? extends Triangle3d> triangles) Returns a new instance of aTriangleMesh
given the triangles it contains.TriangleMesh.intersection
(TriangleMesh other) Returns the intersection of this triangle mesh and the given triangle mesh.TriangleMesh.mergedWith
(TriangleMesh other) Returns a newTriangleMesh
composed of all the triangles of thisTriangleMesh
and anotherTriangleMesh
.Returns a newTriangleMesh
composed of all the triangles of thisTriangleMesh
transformed by the given transformation matrix.TriangleMesh.transform
(Function<Triangle3d, Triangle3d> mapping) Returns a newTriangleMesh
composed of all the triangles of thisTriangleMesh
transformed according to the given mapping function.TriangleMesh.union
(TriangleMesh other) Returns the union of this triangle mesh and the given triangle mesh.TriangleMesh.withPolygon
(Polygon3d polygon) Returns a newTriangleMesh
composed of thisTriangleMesh
and an additional polygon.TriangleMesh.withPolygons
(Collection<? extends Polygon3d> polygons) Returns a newTriangleMesh
composed of thisTriangleMesh
and additional polygons.TriangleMesh.withTriangle
(Triangle3d triangle) Returns a newTriangleMesh
composed of thisTriangleMesh
and an additional triangle.TriangleMesh.withTriangles
(Collection<? extends Triangle3d> triangles) Returns a newTriangleMesh
composed of thisTriangleMesh
and additional triangles.Methods in com.solibri.geometry.mesh with parameters of type TriangleMeshModifier and TypeMethodDescriptionTriangleMesh.difference
(TriangleMesh other) Returns the difference of this triangle mesh and the given triangle mesh.TriangleMesh.intersection
(TriangleMesh other) Returns the intersection of this triangle mesh and the given triangle mesh.boolean
TriangleMesh.intersects
(TriangleMesh other) Returns true if thisTriangleMesh
intersects the givenTriangleMesh
.TriangleMesh.mergedWith
(TriangleMesh other) Returns a newTriangleMesh
composed of all the triangles of thisTriangleMesh
and anotherTriangleMesh
.TriangleMesh.shortest2dPathInXYPlaneProjectionTo
(TriangleMesh other) Returns the shortest 2D path from the projection of thisTriangleMesh
to the projection of anotherTriangleMesh
in the XY-plane, if such path exists.TriangleMesh.shortestHorizontalPathTo
(TriangleMesh other) Returns the shortest horizontal path from thisTriangleMesh
to another, if such path exists.TriangleMesh.shortestPathTo
(TriangleMesh other) Returns the shortest path from thisTriangleMesh
to another, if such path exists.TriangleMesh.shortestVerticalPathTo
(TriangleMesh other) Returns the shortest vertical path from thisTriangleMesh
to another, if such path exists.TriangleMesh.union
(TriangleMesh other) Returns the union of this triangle mesh and the given triangle mesh. -
Uses of TriangleMesh in com.solibri.smc.api.model
Methods in com.solibri.smc.api.model that return TriangleMeshModifier and TypeMethodDescriptionComponent.getTriangleMesh()
Returns theTriangleMesh
composed of the triangles of this component and its decomposed components.