Introduction - If you have any usage issues, please Google them yourself
Input:
XY= Nx2 matrix with point coordinates.
Optional arguments:
S = Critical area ratio (real and positive number). Knots with a value higher than the ratio of maximum to minimum neighbouring polygon area are identified as hole-border points. Default value is 3.
M = Flag for manual editing. Default value is 0.
0: No manual editing.
1: Manual editing of hole-border points. After the first calculation a figure with the point cloud is opened. Automatically recognized points are marked with an 'x'. The user can add/remove not/wrongly recognized border points selecting them with the brush and clicking the appropiate button.