move_contour_orig — Transformation of the origin into the centre of gravity.
move_contour_orig is obsolete and is only provided for reasons of backward compatibility.
The operator move_contour_orig relocates the input contour so that the origin lies in the centre of gravity.
It should be noted that move_contour_orig only returns useful results if the contour encloses a region in the plane. In particular, the contour must not intersect itself. This is particularly important if open contours are passed because they are closed automatically, which can produce a self-intersection. To test whether the contours intersect themselves, test_self_intersection_xld can be used.
Row coordinates of the contour.
Column coordinates of the contour.
Row coordinates of the displaced contour.
Column coordinates of the displaced contour.