Uses of Interface
com.solibri.geometry.primitive3d.Triangle3d
Package
Description
-
Uses of Triangle3d in com.solibri.geometry.algorithms
Modifier and TypeMethodDescriptionstatic List<Triangle3d>
Returns a triangulation of the given polygon.static List<Triangle3d>
Triangulation.of(Polygon3d polygon, Collection<Polygon3d> holes)
Returns a triangulation of the given polygon with the holes removed from it. -
Uses of Triangle3d in com.solibri.geometry.mesh
Modifier and TypeMethodDescriptionTriangleMesh.toTriangleCollection()
Returns a new collection containing the triangles in thisTriangleMesh
.Modifier and TypeMethodDescriptionTriangleMesh.withTriangle(Triangle3d triangle)
Returns a newTriangleMesh
composed of thisTriangleMesh
and an additional triangle.Modifier and TypeMethodDescriptionTriangleMesh.filter(Predicate<Triangle3d> filter)
Returns a newTriangleMesh
composed of all the triangles of thisTriangleMesh
that satisfy the givenPredicate
.static TriangleMesh
TriangleMesh.fromTriangles(Collection<? extends Triangle3d> triangles)
Returns a new instance of aTriangleMesh
given the triangles it contains.TriangleMesh.transform(Function<Triangle3d,Triangle3d> mapping)
Returns a newTriangleMesh
composed of all the triangles of thisTriangleMesh
transformed according to the given mapping function.TriangleMesh.transform(Function<Triangle3d,Triangle3d> mapping)
Returns a newTriangleMesh
composed of all the triangles of thisTriangleMesh
transformed according to the given mapping function.TriangleMesh.withTriangles(Collection<? extends Triangle3d> triangles)
Returns a newTriangleMesh
composed of thisTriangleMesh
and additional triangles. -
Uses of Triangle3d in com.solibri.geometry.primitive3d
Modifier and TypeInterfaceDescriptioninterface
Interface that represents a 3-dimensional triangle.Modifier and TypeMethodDescriptionstatic Triangle3d
Creates a new instance.static Triangle3d
Triangle3d.create(Triangle3d other)
Creates a new instance.static Triangle3d
Creates a new instance.Modifier and TypeMethodDescriptionstatic MPlane
MPlane.create(Triangle3d triangle)
Creates an instance of MPlane based on a triangle.static MTriangle3d
MTriangle3d.create(Triangle3d other)
Creates a new instance.static Triangle3d
Triangle3d.create(Triangle3d other)
Creates a new instance.Ray3d.intersect(Triangle3d triangle)
Returns an optional containing the intersection point between the ray and the triangle if present, an empty optional otherwise.boolean
Ray3d.intersects(Triangle3d triangle)
Returns true if the ray intersects with the triangle, false otherwise. -
Uses of Triangle3d in com.solibri.smc.api.visualization
Modifier and TypeMethodDescriptionMesh.getTriangles()
Returns the triangles forming this brep visualization.Modifier and TypeMethodDescriptionstatic Mesh
Mesh.create(ARGBColor color, Collection<Triangle3d> triangles)
Creates a mesh visualization with the given triangles and color.static Mesh
Mesh.create(Collection<Triangle3d> triangles)
Creates a mesh visualization with the given triangles.