Uses of Interface
com.solibri.geometry.primitive3d.Triangle3d
-
Packages that use Triangle3d Package Description com.solibri.geometry.algorithms com.solibri.geometry.mesh com.solibri.geometry.primitive3d com.solibri.smc.api.visualization -
-
Uses of Triangle3d in com.solibri.geometry.algorithms
Methods in com.solibri.geometry.algorithms that return types with arguments of type Triangle3d Modifier and Type Method Description static List<Triangle3d>
Triangulation. of(Polygon3d polygon)
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
Methods in com.solibri.geometry.mesh that return types with arguments of type Triangle3d Modifier and Type Method Description Collection<Triangle3d>
TriangleMesh. toTriangleCollection()
Returns a new collection containing the triangles in thisTriangleMesh
.Methods in com.solibri.geometry.mesh with parameters of type Triangle3d Modifier and Type Method Description TriangleMesh
TriangleMesh. withTriangle(Triangle3d triangle)
Returns a newTriangleMesh
composed of thisTriangleMesh
and an additional triangle.Method parameters in com.solibri.geometry.mesh with type arguments of type Triangle3d Modifier and Type Method Description TriangleMesh
TriangleMesh. 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
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. transform(Function<Triangle3d,Triangle3d> mapping)
Returns a newTriangleMesh
composed of all the triangles of thisTriangleMesh
transformed according to the given mapping function.TriangleMesh
TriangleMesh. withTriangles(Collection<? extends Triangle3d> triangles)
Returns a newTriangleMesh
composed of thisTriangleMesh
and additional triangles. -
Uses of Triangle3d in com.solibri.geometry.primitive3d
Subinterfaces of Triangle3d in com.solibri.geometry.primitive3d Modifier and Type Interface Description interface
MTriangle3d
Interface that represents a 3-dimensional triangle.Methods in com.solibri.geometry.primitive3d that return Triangle3d Modifier and Type Method Description static Triangle3d
Triangle3d. create(Vector3d firstPoint, Vector3d secondPoint, Vector3d thirdPoint)
Creates a new instance.static Triangle3d
Triangle3d. create(Triangle3d other)
Creates a new instance.static Triangle3d
Triangle3d. create(List<? extends Vector3d> points)
Creates a new instance.Methods in com.solibri.geometry.primitive3d with parameters of type Triangle3d Modifier and Type Method Description static 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.Optional<MVector3d>
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
Methods in com.solibri.smc.api.visualization that return types with arguments of type Triangle3d Modifier and Type Method Description Set<Triangle3d>
Mesh. getTriangles()
Returns the triangles forming this brep visualization.Method parameters in com.solibri.smc.api.visualization with type arguments of type Triangle3d Modifier and Type Method Description static 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.
-