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 and Description |
---|
BoundaryList3D(List<? extends PlaneConvexSubset> boundaries)
Construct a new instance with the given list of boundaries.
|
Modifier and Type | Method and Description |
---|---|
BoundaryList3D |
toList()
Return this instance.
|
boundaryStream, count, getBoundaries, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getBounds, linecast, linecastFirst, of, of, toTree, toTriangleMesh, triangleStream
boundaryStream
linecast, linecastFirst
public BoundaryList3D(List<? extends PlaneConvexSubset> boundaries)
boundaries
- list of boundaries for the instancepublic BoundaryList3D toList()
toList
in interface BoundarySource3D
Copyright © 2016–2021 The Apache Software Foundation. All rights reserved.