close_contours_xldclose_contours_xldCloseContoursXldCloseContoursXldclose_contours_xld (Operator)
Name
close_contours_xldclose_contours_xldCloseContoursXldCloseContoursXldclose_contours_xld — Close an XLD contour.
Signature
def close_contours_xld(contours: HObject) -> HObject
Description
close_contours_xldclose_contours_xldCloseContoursXldCloseContoursXldclose_contours_xld closes all XLD contours given in
ContoursContoursContourscontourscontours. The resulting contours are returned in
ClosedContoursClosedContoursClosedContoursclosedContoursclosed_contours. To obtain meaningful results, it is strongly
recommended to select contours with select_contours_xldselect_contours_xldSelectContoursXldSelectContoursXldselect_contours_xld that have end
points that are not further apart than a certain maximum distance before
passing them to close_contours_xldclose_contours_xldCloseContoursXldCloseContoursXldclose_contours_xld.
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
ContoursContoursContourscontourscontours (input_object) xld_cont-array → objectHXLDContHObjectHObjectHobject
Contours to be closed.
ClosedContoursClosedContoursClosedContoursclosedContoursclosed_contours (output_object) xld_cont(-array) → objectHXLDContHObjectHObjectHobject *
Closed contours.
Possible Predecessors
select_contours_xldselect_contours_xldSelectContoursXldSelectContoursXldselect_contours_xld
Possible Successors
area_center_xldarea_center_xldAreaCenterXldAreaCenterXldarea_center_xld,
circularity_xldcircularity_xldCircularityXldCircularityXldcircularity_xld,
compactness_xldcompactness_xldCompactnessXldCompactnessXldcompactness_xld,
convexity_xldconvexity_xldConvexityXldConvexityXldconvexity_xld,
eccentricity_xldeccentricity_xldEccentricityXldEccentricityXldeccentricity_xld,
elliptic_axis_xldelliptic_axis_xldEllipticAxisXldEllipticAxisXldelliptic_axis_xld,
moments_xldmoments_xldMomentsXldMomentsXldmoments_xld,
moments_any_xldmoments_any_xldMomentsAnyXldMomentsAnyXldmoments_any_xld,
orientation_xldorientation_xldOrientationXldOrientationXldorientation_xld,
select_shape_xldselect_shape_xldSelectShapeXldSelectShapeXldselect_shape_xld,
test_xld_pointtest_xld_pointTestXldPointTestXldPointtest_xld_point
Module
Foundation