public interface PlaneSubset extends HyperplaneSubset<Vector3D>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
PlaneSubset.Embedded
Interface used to represent plane subsets as embedded 2D subspace regions.
|
| Modifier and Type | Method and Description |
|---|---|
Bounds3D |
getBounds()
Get a
Bounds3D object defining an axis-aligned bounding box containing all
vertices for this subset. |
PlaneSubset.Embedded |
getEmbedded()
Return an object containing the plane subset as an embedded 2D subspace region.
|
Plane |
getHyperplane() |
Plane |
getPlane()
Get the plane containing this subset.
|
Vector3D |
intersection(Line3D line)
Get the unique intersection of this plane subset with the given line.
|
Vector3D |
intersection(LineConvexSubset3D lineSubset)
Get the unique intersection of this plane subset with the given line subset.
|
List<PlaneConvexSubset> |
toConvex() |
List<Triangle3D> |
toTriangles()
Return a list of triangles representing the same subset region as this instance.
|
classify, closest, contains, getCentroid, isEmpty, isFull, transformsplitgetSize, isFinite, isInfinitePlane getPlane()
getHyperplane().getHyperplane()Plane getHyperplane()
getHyperplane in interface HyperplaneSubset<Vector3D>List<PlaneConvexSubset> toConvex()
toConvex in interface HyperplaneSubset<Vector3D>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.IllegalStateException - if the subset has infinite size and therefore cannot
be converted to trianglesBounds3D getBounds()
Bounds3D object defining an axis-aligned bounding box containing all
vertices for this subset. Null is returned if the subset is infinite or does not
contain any vertices.PlaneSubset.Embedded getEmbedded()
Vector3D intersection(Line3D line)
line - line to intersect with this plane subsetPlane.intersection(Line3D)Vector3D intersection(LineConvexSubset3D lineSubset)
lineSubset - line subset to intersect withPlane.intersection(Line3D)Copyright © 2016–2021 The Apache Software Foundation. All rights reserved.