public class DeriveObjectFromPoints extends Object
ObjectMask
by incrementally adding points.Constructor and Description |
---|
DeriveObjectFromPoints() |
Modifier and Type | Method and Description |
---|---|
void |
add(ReadableTuple3i point)
Adds a point to the object.
|
Optional<ObjectMask> |
deriveObject()
Derives an
ObjectMask that includes all points that were previously added. |
public void add(ReadableTuple3i point)
point
- the point to add.public Optional<ObjectMask> deriveObject()
ObjectMask
that includes all points that were previously added.
The bounding-box of the created ObjectMask
will fit the points as tightly as
possible.
ObjectMask
if at least one point was added. Otherwise Optional.empty()
.Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.