F
- Mesh face implementation typepublic interface Mesh<F extends Mesh.Face> extends BoundarySource3D
Modifier and Type | Interface and Description |
---|---|
static interface |
Mesh.Face
Interface representing a single face in a mesh.
|
Modifier and Type | Method and Description |
---|---|
Iterable<F> |
faces()
Get an iterable containing all faces in the mesh.
|
F |
getFace(int index)
Get a face from the mesh by its index.
|
int |
getFaceCount()
Get the number of faces in the mesh.
|
List<F> |
getFaces()
Get a list containing all faces in the mesh.
|
int |
getVertexCount()
Get the number of vertices in the mesh.
|
List<Vector3D> |
getVertices()
Get a list containing all vertices in the mesh.
|
Mesh<F> |
transform(Transform<Vector3D> transform)
Return a new, transformed mesh by applying the given transform to
all vertices.
|
Iterable<Vector3D> |
vertices()
Get an iterable containing the vertices in the mesh.
|
getBounds, linecast, linecastFirst, of, of, toList, toTree, toTriangleMesh, triangleStream
boundaryStream
linecast, linecastFirst
Iterable<Vector3D> vertices()
List<Vector3D> getVertices()
int getVertexCount()
Iterable<F> faces()
List<F> getFaces()
int getFaceCount()
F getFace(int index)
index
- the index of the mesh to retrieveIndexOutOfBoundsException
- if the index is out of boundsCopyright © 2016–2021 The Apache Software Foundation. All rights reserved.