public class ContourTraverser extends Object
ObjectMask
that describes the contour of an object.
In this case, the contour is the exterior outline of some entity.
Constructor and Description |
---|
ContourTraverser(ObjectMask contourToTraverse,
ConsiderVisit visitCondition,
boolean useZ,
boolean bigNeighborhood) |
Modifier and Type | Method and Description |
---|---|
void |
traverseGlobal(Point3i root,
java.util.function.Consumer<Point3i> pointConsumer)
Traverse
contourToTraverse using global-coordinates. |
public ContourTraverser(ObjectMask contourToTraverse, ConsiderVisit visitCondition, boolean useZ, boolean bigNeighborhood)
public void traverseGlobal(Point3i root, java.util.function.Consumer<Point3i> pointConsumer) throws OperationFailedException
contourToTraverse
using global-coordinates.root
- this root point should exist on the contourToTraverse
.pointConsumer
- called on each point that is traversed.OperationFailedException
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.