public interface PlaneConvexSubset extends PlaneSubset, HyperplaneConvexSubset<Vector3D>
Modifier and Type | Interface and Description |
---|---|
static interface |
PlaneConvexSubset.Embedded
Interface used to represent plane convex subsets as embedded 2D subspace regions.
|
Modifier and Type | Method and Description |
---|---|
PlaneConvexSubset.Embedded |
getEmbedded()
Return an object containing the plane subset as an embedded 2D subspace region.
|
List<Vector3D> |
getVertices()
Get the vertices for the convex subset in a counter-clockwise order as viewed looking down the plane
normal.
|
PlaneConvexSubset |
reverse() |
Split<PlaneConvexSubset> |
split(Hyperplane<Vector3D> splitter) |
default List<PlaneConvexSubset> |
toConvex() |
PlaneConvexSubset |
transform(Transform<Vector3D> transform) |
getBounds, getHyperplane, getPlane, intersection, intersection, toTriangles
classify, closest, contains, getCentroid, isEmpty, isFull
getSize, isFinite, isInfinite
PlaneConvexSubset reverse()
reverse
in interface HyperplaneConvexSubset<Vector3D>
PlaneConvexSubset transform(Transform<Vector3D> transform)
transform
in interface HyperplaneConvexSubset<Vector3D>
transform
in interface HyperplaneSubset<Vector3D>
Split<PlaneConvexSubset> split(Hyperplane<Vector3D> splitter)
split
in interface HyperplaneConvexSubset<Vector3D>
split
in interface Splittable<Vector3D,HyperplaneSubset<Vector3D>>
PlaneConvexSubset.Embedded getEmbedded()
getEmbedded
in interface PlaneSubset
List<Vector3D> getVertices()
It is important to note that, in general, the list of vertices returned by this method is not sufficient to completely characterize the subset. For example, a simple triangle has 3 vertices, but an infinite area constructed from two parallel lines and two lines that intersect between them will also have 3 vertices. It is also possible for non-empty subsets to contain no vertices at all. For example, a subset with no boundaries (representing the full plane), a subset with a single boundary (ie, a half-plane), or a subset with two parallel boundaries will not contain any vertices.
default List<PlaneConvexSubset> toConvex()
This method simply returns a singleton list containing this object.
toConvex
in interface HyperplaneSubset<Vector3D>
toConvex
in interface PlaneSubset
Copyright © 2016–2021 The Apache Software Foundation. All rights reserved.