test_closed_xldtest_closed_xldTestClosedXldTestClosedXld (Operator)
Name
test_closed_xldtest_closed_xldTestClosedXldTestClosedXld
— Test whether contours or polygons are closed.
Signature
Herror test_closed_xld(const Hobject XLD, Hlong* IsClosed)
Herror T_test_closed_xld(const Hobject XLD, Htuple* IsClosed)
Description
test_closed_xldtest_closed_xldTestClosedXldTestClosedXldTestClosedXld
tests each contour or polygon in
XLDXLDXLDXLDXLD
, whether it is closed and returns the result in
IsClosedIsClosedIsClosedIsClosedisClosed
. If the contour contour or polygon is closed, the
respective return value is 1, otherwise 0. A contour or polygon is
closed, if its last point is equal to its first point.
Execution Information
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Parameters
XLDXLDXLDXLDXLD
(input_object) xld(-array) →
objectHXLDHXLDHobject
Contours or polygons to be tested.
IsClosedIsClosedIsClosedIsClosedisClosed
(output_control) integer(-array) →
HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)
Tuple with boolean numbers.
Possible Predecessors
gen_contour_region_xldgen_contour_region_xldGenContourRegionXldGenContourRegionXldGenContourRegionXld
,
edges_sub_pixedges_sub_pixEdgesSubPixEdgesSubPixEdgesSubPix
Module
Foundation