Class PointsFromObject
Object
PointsFromObject
Derives collections of points from an
ObjectMask
or its contour.- Author:
- Owen Feehan
-
Method Summary
Modifier and TypeMethodDescriptionlistFrom2i
(ObjectMask object) A list of two-dimensional integer points from the entire object-mask.listFrom3d
(ObjectMask object) A list of points from the entire object-mask asPoint3d
.listFrom3i
(ObjectMask object) A list of three-dimensional integer points from the entire object-mask.listFromAllOutlines2i
(ObjectCollection objects) A list of points as three-dimensional integers from the outline of all objects in a collection.listFromOutline2i
(ObjectMask object) A list of points as three-dimensional integers from the outline of an object-masklistFromOutline3i
(ObjectMask object) A list of points asPoint3i
from the outline of an object-mask.setFrom3i
(ObjectMask object) A sorted-set of three-dimensional integer points from the entire object-masksetFromContour
(ObjectMask object) A set of points from the contour ofobject
in three dimensions.
-
Method Details
-
listFrom2i
A list of two-dimensional integer points from the entire object-mask.- Parameters:
object
- the object.- Returns:
- a newly-created list.
- Throws:
CreateException
- if the object is in three-dimensions.
-
listFrom3i
A list of three-dimensional integer points from the entire object-mask.- Parameters:
object
- the object.- Returns:
- a newly-created list.
-
setFrom3i
A sorted-set of three-dimensional integer points from the entire object-mask- Parameters:
object
- the object- Returns:
- a newly-created list
-
listFrom3d
A list of points from the entire object-mask asPoint3d
.- Parameters:
object
- the object.- Returns:
- a newly created list.
-
listFromOutline3i
A list of points asPoint3i
from the outline of an object-mask.- Parameters:
object
- the object.- Returns:
- a newly created list.
-
listFromOutline2i
A list of points as three-dimensional integers from the outline of an object-mask- Parameters:
object
- the object.- Returns:
- a newly created list.
- Throws:
CreateException
- if the object is in three-dimensions
-
listFromAllOutlines2i
A list of points as three-dimensional integers from the outline of all objects in a collection.- Parameters:
objects
- objects to find outlines for.- Returns:
- a newly created list.
-
setFromContour
A set of points from the contour ofobject
in three dimensions.- Parameters:
object
- the object.- Returns:
- a newly created set of points, encoded as
Point3i
.
-