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_xldCloseContoursXldCloseContoursXldCloseContoursXldclose_contours_xld closes all XLD contours given in
ContoursContoursContoursContourscontourscontours. The resulting contours are returned in
ClosedContoursClosedContoursClosedContoursClosedContoursclosedContoursclosed_contours. To obtain meaningful results, it is strongly
recommended to select contours with select_contours_xldselect_contours_xldSelectContoursXldSelectContoursXldSelectContoursXldselect_contours_xld that have end
points that are not further apart than a certain maximum distance before
passing them to close_contours_xldclose_contours_xldCloseContoursXldCloseContoursXldCloseContoursXldclose_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
ContoursContoursContoursContourscontourscontours (input_object) xld_cont-array → objectHXLDContHObjectHXLDContHobject
Contours to be closed.
ClosedContoursClosedContoursClosedContoursClosedContoursclosedContoursclosed_contours (output_object) xld_cont(-array) → objectHXLDContHObjectHXLDContHobject *
Closed contours.
Possible Predecessors
select_contours_xldselect_contours_xldSelectContoursXldSelectContoursXldSelectContoursXldselect_contours_xld
Possible Successors
area_center_xldarea_center_xldAreaCenterXldAreaCenterXldAreaCenterXldarea_center_xld,
circularity_xldcircularity_xldCircularityXldCircularityXldCircularityXldcircularity_xld,
compactness_xldcompactness_xldCompactnessXldCompactnessXldCompactnessXldcompactness_xld,
convexity_xldconvexity_xldConvexityXldConvexityXldConvexityXldconvexity_xld,
eccentricity_xldeccentricity_xldEccentricityXldEccentricityXldEccentricityXldeccentricity_xld,
elliptic_axis_xldelliptic_axis_xldEllipticAxisXldEllipticAxisXldEllipticAxisXldelliptic_axis_xld,
moments_xldmoments_xldMomentsXldMomentsXldMomentsXldmoments_xld,
moments_any_xldmoments_any_xldMomentsAnyXldMomentsAnyXldMomentsAnyXldmoments_any_xld,
orientation_xldorientation_xldOrientationXldOrientationXldOrientationXldorientation_xld,
select_shape_xldselect_shape_xldSelectShapeXldSelectShapeXldSelectShapeXldselect_shape_xld,
test_xld_pointtest_xld_pointTestXldPointTestXldPointTestXldPointtest_xld_point
Module
Foundation