public interface Triangle3D extends ConvexPolygon3D
PlaneConvexSubset.Embedded| Modifier and Type | Method and Description |
|---|---|
Vector3D |
getPoint1()
The first point in the triangle.
|
Vector3D |
getPoint2()
The second point in the triangle.
|
Vector3D |
getPoint3()
The third point in the triangle.
|
Triangle3D |
reverse() |
default List<Triangle3D> |
toTriangles()
Return a list of triangles representing the same subset region as this instance.
|
Triangle3D |
transform(Transform<Vector3D> transform) |
getEmbedded, getVertices, split, toConvexgetBounds, getHyperplane, getPlane, intersection, intersectionclassify, closest, contains, getCentroid, isEmpty, isFullgetSize, isFinite, isInfiniteVector3D getPoint1()
Vector3D getPoint2()
Vector3D getPoint3()
Triangle3D reverse()
reverse in interface ConvexPolygon3Dreverse in interface HyperplaneConvexSubset<Vector3D>reverse in interface PlaneConvexSubsetTriangle3D transform(Transform<Vector3D> transform)
transform in interface ConvexPolygon3Dtransform in interface HyperplaneConvexSubset<Vector3D>transform in interface HyperplaneSubset<Vector3D>transform in interface PlaneConvexSubsetdefault List<Triangle3D> toTriangles()
IllegalStateException is thrown if the subset has infinite size and therefore
cannot be converted to triangles. If the subset has zero size (is empty), an empty list is
returned.
This method simply returns a singleton list containing this object.
toTriangles in interface PlaneSubsetCopyright © 2016–2021 The Apache Software Foundation. All rights reserved.