Reduce Contour

Node Icon

Reduces the number of points of contours by calculating the area of the parallelogram defined by 3 consecutive points on the contour. One side is defined by point 1-2 and the other by 1-3. If the area of the parallelogram is less the the stopping criteria, point 2 is discarded. The process is iterative and will be continued until maximum iterations is reached, or no more points can be discarded with set stopping criteria.

Stopping criteria

Inputs

Input

Input Contour(s).

Type: Contour, List, Required, Single

Outputs

Output

Reduced Contour(s).

Type: Contour, List

Settings

Iterations Integer

Set the maximum number of iterations for polygon reduction.

Stopping Criterion Float

The maximum area the parallelogram can have for a point to be removed in mm2.

See also

Keywords: