Class BoundaryList3D
java.lang.Object
org.apache.commons.geometry.core.partitioning.BoundaryList<Vector3D, PlaneConvexSubset>
org.apache.commons.geometry.euclidean.threed.BoundaryList3D
- All Implemented Interfaces:
BoundarySource<PlaneConvexSubset>, BoundarySource3D, Linecastable3D
public class BoundaryList3D
extends BoundaryList<Vector3D, PlaneConvexSubset>
implements BoundarySource3D
BoundarySource3D implementation that uses boundaries stored in
a list. Lists given during construction are used directly; no copies are made.
Thread safety and immutability therefore depend on the underlying list and its
usage outside of this class. The boundary list cannot be modified through this
class.-
Constructor Summary
ConstructorsConstructorDescriptionBoundaryList3D(List<? extends PlaneConvexSubset> boundaries) Construct a new instance with the given list of boundaries. -
Method Summary
Methods inherited from class BoundaryList
boundaryStream, count, getBoundaries, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface BoundarySource
boundaryStreamMethods inherited from interface BoundarySource3D
getBounds, linecast, linecastFirst, toTree, toTriangleMesh, triangleStreamMethods inherited from interface Linecastable3D
linecast, linecastFirst
-
Constructor Details
-
BoundaryList3D
Construct a new instance with the given list of boundaries. The argument is used directly; no copy is made.- Parameters:
boundaries- list of boundaries for the instance
-
-
Method Details
-
toList
Return this instance.- Specified by:
toListin interfaceBoundarySource3D- Returns:
- this instance
-