Class ObjectIntersectionRemover
Object
ObjectIntersectionRemover
Utility class for removing intersecting voxels between objects in a collection.
-
Method Summary
Modifier and TypeMethodDescriptionstatic ObjectCollectionremoveIntersectingVoxels(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- theObjectCollectionto processdimensions- theDimensionsof the space containing the objectserrorDisconnectedObjects- if true, throws an exception if an object becomes disconnected- Returns:
- a new
ObjectCollectionwith intersecting voxels removed - Throws:
OperationFailedException- if an object becomes disconnected and errorDisconnectedObjects is true
-