| Package | Description | 
|---|---|
| com.solibri.geometry.mesh | |
| com.solibri.smc.api.model | 
| Modifier and Type | Method and Description | 
|---|---|
static TriangleMesh | 
TriangleMesh.createEmpty()
Returns a new instance of an empty  
TriangleMesh. | 
TriangleMesh | 
TriangleMesh.filter(Predicate<Triangle3d> filter)
Returns a new  
TriangleMesh composed of all the triangles of this TriangleMesh that
 satisfy the given Predicate. | 
TriangleMesh | 
TriangleMesh.flipped()
Returns a version of this  
TriangleMesh 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 a  
TriangleMesh given the polygons that form it. | 
static TriangleMesh | 
TriangleMesh.fromTriangles(Collection<? extends Triangle3d> triangles)
Returns a new instance of a  
TriangleMesh given the triangles it contains. | 
TriangleMesh | 
TriangleMesh.mergedWith(TriangleMesh other)
Returns a new  
TriangleMesh composed of all the triangles of this TriangleMesh and
 another TriangleMesh. | 
TriangleMesh | 
TriangleMesh.transform(Function<Triangle3d,Triangle3d> mapping)
Returns a new  
TriangleMesh composed of all the triangles of this TriangleMesh transformed
 according to the given mapping function. | 
TriangleMesh | 
TriangleMesh.withPolygon(Polygon3d polygon)
Returns a new  
TriangleMesh composed of this TriangleMesh and an additional polygon. | 
TriangleMesh | 
TriangleMesh.withPolygons(Collection<? extends Polygon3d> polygons)
Returns a new  
TriangleMesh composed of this TriangleMesh and additional polygons. | 
TriangleMesh | 
TriangleMesh.withTriangle(Triangle3d triangle)
Returns a new  
TriangleMesh composed of this TriangleMesh and an additional triangle. | 
TriangleMesh | 
TriangleMesh.withTriangles(Collection<? extends Triangle3d> triangles)
Returns a new  
TriangleMesh composed of this TriangleMesh and additional triangles. | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
TriangleMesh.intersects(TriangleMesh other)
Returns true if this  
TriangleMesh intersects the given TriangleMesh. | 
TriangleMesh | 
TriangleMesh.mergedWith(TriangleMesh other)
Returns a new  
TriangleMesh composed of all the triangles of this TriangleMesh and
 another TriangleMesh. | 
Optional<Segment2d> | 
TriangleMesh.shortest2dPathInXYPlaneProjectionTo(TriangleMesh other)
Returns the shortest 2D path from the projection of this  
TriangleMesh to the projection of another
 TriangleMesh in the XY-plane, if such path exists. | 
Optional<Segment3d> | 
TriangleMesh.shortestHorizontalPathTo(TriangleMesh other)
Returns the shortest horizontal path from this  
TriangleMesh to another, if such path exists. | 
Optional<Segment3d> | 
TriangleMesh.shortestPathTo(TriangleMesh other)
Returns the shortest path from this  
TriangleMesh to another, if such path exists. | 
Optional<Segment3d> | 
TriangleMesh.shortestVerticalPathTo(TriangleMesh other)
Returns the shortest vertical path from this  
TriangleMesh to another, if such path exists. | 
| Modifier and Type | Method and Description | 
|---|---|
TriangleMesh | 
Component.getTriangleMesh()
Returns the  
TriangleMesh composed of the triangles of this component and its decomposed components. | 
Copyright © 2019 Solibri, Inc.. All rights reserved.