Uses of Interface
com.solibri.geometry.mesh.TriangleMesh
-
Packages that use TriangleMesh Package Description com.solibri.geometry.mesh com.solibri.smc.api.model -
-
Uses of TriangleMesh in com.solibri.geometry.mesh
Methods in com.solibri.geometry.mesh that return TriangleMesh Modifier and Type Method Description static TriangleMesh
TriangleMesh. createEmpty()
Returns a new instance of an emptyTriangleMesh
.TriangleMesh
TriangleMesh. filter(Predicate<Triangle3d> filter)
Returns a newTriangleMesh
composed of all the triangles of thisTriangleMesh
that satisfy the givenPredicate
.TriangleMesh
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
TriangleMesh. mergedWith(TriangleMesh other)
Returns a newTriangleMesh
composed of all the triangles of thisTriangleMesh
and anotherTriangleMesh
.TriangleMesh
TriangleMesh. transform(Matrix4d transformation)
Returns a newTriangleMesh
composed of all the triangles of thisTriangleMesh
transformed by the given transformation matrix.TriangleMesh
TriangleMesh. transform(Function<Triangle3d,Triangle3d> mapping)
Returns a newTriangleMesh
composed of all the triangles of thisTriangleMesh
transformed according to the given mapping function.TriangleMesh
TriangleMesh. withPolygon(Polygon3d polygon)
Returns a newTriangleMesh
composed of thisTriangleMesh
and an additional polygon.TriangleMesh
TriangleMesh. withPolygons(Collection<? extends Polygon3d> polygons)
Returns a newTriangleMesh
composed of thisTriangleMesh
and additional polygons.TriangleMesh
TriangleMesh. withTriangle(Triangle3d triangle)
Returns a newTriangleMesh
composed of thisTriangleMesh
and an additional triangle.TriangleMesh
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 TriangleMesh Modifier and Type Method Description boolean
TriangleMesh. intersects(TriangleMesh other)
Returns true if thisTriangleMesh
intersects the givenTriangleMesh
.TriangleMesh
TriangleMesh. mergedWith(TriangleMesh other)
Returns a newTriangleMesh
composed of all the triangles of thisTriangleMesh
and anotherTriangleMesh
.Optional<Segment2d>
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.Optional<Segment3d>
TriangleMesh. shortestHorizontalPathTo(TriangleMesh other)
Returns the shortest horizontal path from thisTriangleMesh
to another, if such path exists.Optional<Segment3d>
TriangleMesh. shortestPathTo(TriangleMesh other)
Returns the shortest path from thisTriangleMesh
to another, if such path exists.Optional<Segment3d>
TriangleMesh. shortestVerticalPathTo(TriangleMesh other)
Returns the shortest vertical path from thisTriangleMesh
to another, if such path exists. -
Uses of TriangleMesh in com.solibri.smc.api.model
Methods in com.solibri.smc.api.model that return TriangleMesh Modifier and Type Method Description TriangleMesh
Component. getTriangleMesh()
Returns theTriangleMesh
composed of the triangles of this component and its decomposed components.
-