public class PointsFromMask
extends Object
Extracts list of points from a
Mask.
- Author:
- Owen Feehan
-
Method Summary
All points that have
on state in a
Mask as a list with type
Point2i.
All points that have
on state in a
Mask as a list with type
Point3i.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
listFrom3i
All points that have
on state in a
Mask as a list with type
Point3i.
- Parameters:
mask - the mask.
- Returns:
- a newly created list with the points.
-
listFrom2i
All points that have
on state in a
Mask as a list with type
Point2i.
- Parameters:
mask - the mask.
- Returns:
- a newly created list with the points.
- Throws:
CreateException - if any of the points in the mask are 3D i.e. have non-zero z-value.