Uses of Interface
org.apache.commons.geometry.euclidean.threed.Triangle3D
-
Packages that use Triangle3D 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.org.apache.commons.geometry.io.euclidean.threed This package contains the core interfaces and classes providing IO functionality for Euclidean 3D space. -
-
Uses of Triangle3D in org.apache.commons.geometry.euclidean.threed
Classes in org.apache.commons.geometry.euclidean.threed that implement Triangle3D Modifier and Type Class Description (package private) class
SimpleTriangle3D
Simple implementation ofTriangle3D
.Methods in org.apache.commons.geometry.euclidean.threed that return Triangle3D Modifier and Type Method Description Triangle3D
Triangle3D. reverse()
Reverse the orientation of the hyperplane for this instance, returning the result as a new instance.Triangle3D
Triangle3D. transform(Transform<Vector3D> transform)
Return a new hyperplane subset resulting from the application of the given transform.static Triangle3D
Planes. triangleFromVertices(Vector3D p1, Vector3D p2, Vector3D p3, org.apache.commons.numbers.core.Precision.DoubleEquivalence precision)
Construct a triangle from three vertices.Methods in org.apache.commons.geometry.euclidean.threed that return types with arguments of type Triangle3D Modifier and Type Method Description (package private) static java.util.List<Triangle3D>
Planes. convexPolygonToTriangleFan(Plane plane, java.util.List<Vector3D> vertices)
Convert a convex polygon defined by a plane and list of points into a triangle fan.static java.util.List<Triangle3D>
Planes. indexedTriangles(java.util.List<? extends Vector3D> vertices, int[][] faceIndices, org.apache.commons.numbers.core.Precision.DoubleEquivalence precision)
Construct a list ofTriangle3D
instances from a set of vertices and arrays of face indices.static java.util.List<Triangle3D>
Planes. indexedTriangles(Vector3D[] vertices, int[][] faceIndices, org.apache.commons.numbers.core.Precision.DoubleEquivalence precision)
Construct a list ofTriangle3D
instances from a set of vertices and arrays of face indices.java.util.List<Triangle3D>
EmbeddedAreaPlaneConvexSubset. toTriangles()
Return a list of triangles representing the same subset region as this instance.java.util.List<Triangle3D>
EmbeddedTreePlaneSubset. toTriangles()
Return a list of triangles representing the same subset region as this instance.java.util.List<Triangle3D>
PlaneSubset. toTriangles()
Return a list of triangles representing the same subset region as this instance.default java.util.List<Triangle3D>
Triangle3D. toTriangles()
Return a list of triangles representing the same subset region as this instance.java.util.List<Triangle3D>
VertexListConvexPolygon3D. toTriangles()
Return a list of triangles representing the same subset region as this instance.default java.util.stream.Stream<Triangle3D>
BoundarySource3D. triangleStream()
Return the boundaries of this instance as a stream ofTriangle3D
instances. -
Uses of Triangle3D in org.apache.commons.geometry.euclidean.threed.mesh
Methods in org.apache.commons.geometry.euclidean.threed.mesh that return Triangle3D Modifier and Type Method Description Triangle3D
SimpleTriangleMesh.SimpleTriangleFace. getPolygon()
Get the 3D polygon defined by this face.Triangle3D
TriangleMesh.Face. getPolygon()
Get the 3D polygon defined by this face.Methods in org.apache.commons.geometry.euclidean.threed.mesh that return types with arguments of type Triangle3D Modifier and Type Method Description java.util.stream.Stream<Triangle3D>
SimpleTriangleMesh. triangleStream()
Return the boundaries of this instance as a stream ofTriangle3D
instances. -
Uses of Triangle3D in org.apache.commons.geometry.io.euclidean.threed
Methods in org.apache.commons.geometry.io.euclidean.threed that return types with arguments of type Triangle3D Modifier and Type Method Description java.util.stream.Stream<Triangle3D>
BoundaryIOManager3D. triangles(GeometryInput in, GeometryFormat fmt, org.apache.commons.numbers.core.Precision.DoubleEquivalence precision)
Return aStream
providing access to all triangles from the given input.static java.util.stream.Stream<Triangle3D>
IO3D. triangles(java.net.URL url, org.apache.commons.numbers.core.Precision.DoubleEquivalence precision)
Return aStream
providing access to all triangles from the given URL.static java.util.stream.Stream<Triangle3D>
IO3D. triangles(java.nio.file.Path path, org.apache.commons.numbers.core.Precision.DoubleEquivalence precision)
Return aStream
providing access to all triangles from the given file path.static java.util.stream.Stream<Triangle3D>
IO3D. triangles(GeometryInput in, GeometryFormat fmt, org.apache.commons.numbers.core.Precision.DoubleEquivalence precision)
Return aStream
providing access to all triangles from the given input.
-