Package | Description |
---|---|
org.apache.commons.geometry.euclidean.threed.mesh |
This package contains types representing 3D mesh data structures.
|
Modifier and Type | Method and Description |
---|---|
SimpleTriangleMesh.Builder |
SimpleTriangleMesh.Builder.addFace(int[] face)
Append a face to this mesh.
|
SimpleTriangleMesh.Builder |
SimpleTriangleMesh.Builder.addFace(int index1,
int index2,
int index3)
Append a face to this mesh.
|
SimpleTriangleMesh.Builder |
SimpleTriangleMesh.Builder.addFaceAndVertices(Vector3D p1,
Vector3D p2,
Vector3D p3)
Add a face and its vertices to this mesh.
|
SimpleTriangleMesh.Builder |
SimpleTriangleMesh.Builder.addFaces(Collection<int[]> faceIndices)
Append a group of faces to this mesh.
|
SimpleTriangleMesh.Builder |
SimpleTriangleMesh.Builder.addFaces(int[][] faceIndices)
Append a group of faces to this mesh.
|
SimpleTriangleMesh.Builder |
SimpleTriangleMesh.Builder.addFaceUsingVertices(Vector3D p1,
Vector3D p2,
Vector3D p3)
Add a face to this mesh, only adding vertices to the vertex list if equivalent vertices are
not found.
|
SimpleTriangleMesh.Builder |
SimpleTriangleMesh.Builder.addVertices(Collection<? extends Vector3D> newVertices)
Add a group of vertices directly to the vertex list.
|
SimpleTriangleMesh.Builder |
SimpleTriangleMesh.Builder.addVertices(Vector3D[] newVertices)
Add a group of vertices directly to the vertex list.
|
static SimpleTriangleMesh.Builder |
SimpleTriangleMesh.builder(Precision.DoubleEquivalence precision)
Return a builder for creating new triangle mesh objects.
|
SimpleTriangleMesh.Builder |
SimpleTriangleMesh.Builder.ensureFaceCapacity(int numFaces)
Ensure that this instance has enough capacity to store at least
numFaces
number of faces without reallocating space. |
SimpleTriangleMesh.Builder |
SimpleTriangleMesh.Builder.ensureVertexCapacity(int numVertices)
Ensure that this instance has enough capacity to store at least
numVertices
number of vertices without reallocating space. |
Copyright © 2016–2021 The Apache Software Foundation. All rights reserved.