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 |
SimpleTriangleMesh.Builder.build()
Build a triangle mesh containing the vertices and faces in this builder.
|
static SimpleTriangleMesh |
SimpleTriangleMesh.from(BoundarySource3D boundarySrc,
Precision.DoubleEquivalence precision)
Construct a new mesh instance containing all triangles from the given boundary
source.
|
static SimpleTriangleMesh |
SimpleTriangleMesh.from(Collection<Vector3D> vertices,
Collection<int[]> faces,
Precision.DoubleEquivalence precision)
Construct a new triangle mesh from the given vertices and face indices.
|
static SimpleTriangleMesh |
SimpleTriangleMesh.from(Vector3D[] vertices,
int[][] faces,
Precision.DoubleEquivalence precision)
Construct a new triangle mesh from the given vertices and face indices.
|
SimpleTriangleMesh |
SimpleTriangleMesh.toTriangleMesh(Precision.DoubleEquivalence meshPrecision)
Return this instance if the given precision context is equal to the current precision context.
|
SimpleTriangleMesh |
SimpleTriangleMesh.transform(Transform<Vector3D> transform)
Return a new, transformed mesh by applying the given transform to
all vertices.
|
Copyright © 2016–2021 The Apache Software Foundation. All rights reserved.