Class ObjectIntersectionRemover
Object
ObjectIntersectionRemover
Utility class for removing intersecting voxels between objects in a collection.
-
Method Summary
Modifier and TypeMethodDescriptionstatic ObjectCollection
removeIntersectingVoxels
(ObjectCollection objects, Dimensions dimensions, boolean errorDisconnectedObjects) Removes intersecting voxels from a collection of objects.
-
Method Details
-
removeIntersectingVoxels
public static ObjectCollection removeIntersectingVoxels(ObjectCollection objects, Dimensions dimensions, boolean errorDisconnectedObjects) throws OperationFailedException Removes intersecting voxels from a collection of objects.- Parameters:
objects
- theObjectCollection
to processdimensions
- theDimensions
of the space containing the objectserrorDisconnectedObjects
- if true, throws an exception if an object becomes disconnected- Returns:
- a new
ObjectCollection
with intersecting voxels removed - Throws:
OperationFailedException
- if an object becomes disconnected and errorDisconnectedObjects is true
-