Class ObjectIntersectionRemover

Object
ObjectIntersectionRemover

public class ObjectIntersectionRemover extends Object
Utility class for removing intersecting voxels between objects in a collection.
  • 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 - the ObjectCollection to process
      dimensions - the Dimensions of the space containing the objects
      errorDisconnectedObjects - 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