Package | Description |
---|---|
org.apache.commons.geometry.euclidean.threed |
This package provides basic 3D geometry components.
|
org.apache.commons.geometry.euclidean.threed.mesh |
This package contains types representing 3D mesh data structures.
|
Modifier and Type | Method and Description |
---|---|
Triangle3D |
Triangle3D.reverse() |
Triangle3D |
Triangle3D.transform(Transform<Vector3D> transform) |
static Triangle3D |
Planes.triangleFromVertices(Vector3D p1,
Vector3D p2,
Vector3D p3,
Precision.DoubleEquivalence precision)
Construct a triangle from three vertices.
|
Modifier and Type | Method and Description |
---|---|
static List<Triangle3D> |
Planes.indexedTriangles(List<? extends Vector3D> vertices,
int[][] faceIndices,
Precision.DoubleEquivalence precision)
Construct a list of
Triangle3D instances from a set of vertices and arrays of face indices. |
static List<Triangle3D> |
Planes.indexedTriangles(Vector3D[] vertices,
int[][] faceIndices,
Precision.DoubleEquivalence precision)
Construct a list of
Triangle3D instances from a set of vertices and arrays of face indices. |
List<Triangle3D> |
PlaneSubset.toTriangles()
Return a list of triangles representing the same subset region as this instance.
|
List<Triangle3D> |
EmbeddedTreePlaneSubset.toTriangles()
Return a list of triangles representing the same subset region as this instance.
|
default List<Triangle3D> |
Triangle3D.toTriangles()
Return a list of triangles representing the same subset region as this instance.
|
default Stream<Triangle3D> |
BoundarySource3D.triangleStream()
Return the boundaries of this instance as a stream of
Triangle3D
instances. |
Modifier and Type | Method and Description |
---|---|
Triangle3D |
TriangleMesh.Face.getPolygon()
Get the 3D polygon defined by this face.
|
Modifier and Type | Method and Description |
---|---|
Stream<Triangle3D> |
SimpleTriangleMesh.triangleStream()
Return the boundaries of this instance as a stream of
Triangle3D
instances. |
Copyright © 2016–2021 The Apache Software Foundation. All rights reserved.