Class DeriveObjectFromPoints
Object
DeriveObjectFromPoints
Derive an
ObjectMask
by incrementally adding points.- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(ReadableTuple3i point) Adds a point to the object.Derives anObjectMask
that includes all points that were previously added.
-
Constructor Details
-
DeriveObjectFromPoints
public DeriveObjectFromPoints()
-
-
Method Details
-
add
Adds a point to the object.- Parameters:
point
- the point to add.
-
deriveObject
Derives anObjectMask
that includes all points that were previously added.The bounding-box of the created
ObjectMask
will fit the points as tightly as possible.- Returns:
- a newly created
ObjectMask
if at least one point was added. OtherwiseOptional.empty()
.
-