close_contours_xld — Close an XLD contour.
close_contours_xld closes all XLD contours given in
Contours. The resulting contours are returned in
ClosedContours. To obtain meaningful results, it is strongly
recommended to select contours with
select_contours_xld that have end
points that are not further apart than a certain maximum distance before
passing them to
Contours to be closed.