Package | Description |
---|---|
com.solibri.geometry.algorithms | |
com.solibri.geometry.mesh | |
com.solibri.geometry.primitive3d | |
com.solibri.smc.api.visualization |
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
Collection<Triangle3d> |
TriangleMesh.toTriangleCollection()
Returns a new collection containing the triangles in this
TriangleMesh . |
Modifier and Type | Method and Description |
---|---|
TriangleMesh |
TriangleMesh.withTriangle(Triangle3d triangle)
Returns a new
TriangleMesh composed of this TriangleMesh and an additional triangle. |
Modifier and Type | Method and Description |
---|---|
TriangleMesh |
TriangleMesh.filter(Predicate<Triangle3d> filter)
Returns a new
TriangleMesh composed of all the triangles of this TriangleMesh that
satisfy the given Predicate . |
static TriangleMesh |
TriangleMesh.fromTriangles(Collection<? extends Triangle3d> triangles)
Returns a new instance of a
TriangleMesh given the triangles it contains. |
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.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.withTriangles(Collection<? extends Triangle3d> triangles)
Returns a new
TriangleMesh composed of this TriangleMesh and additional triangles. |
Modifier and Type | Interface and Description |
---|---|
interface |
MTriangle3d
Interface that represents a 3-dimensional triangle.
|
Modifier and Type | Method and Description |
---|---|
static Triangle3d |
Triangle3d.create(List<? extends Vector3d> points)
Creates a new instance.
|
static Triangle3d |
Triangle3d.create(Triangle3d other)
Creates a new instance.
|
static Triangle3d |
Triangle3d.create(Vector3d firstPoint,
Vector3d secondPoint,
Vector3d thirdPoint)
Creates a new instance.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
Set<Triangle3d> |
Mesh.getTriangles()
Returns the triangles forming this brep visualization.
|
Modifier and Type | Method and 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.
|
Copyright © 2019 Solibri, Inc.. All rights reserved.