An NDoc Documented Class Library

Corners.trimCloseCorners Method 

Removes corners from an array that are too close together. Also removes points that have slow speed but very low curvature.

private int[] trimCloseCorners(
   int[] corners,
   int threshold
);

Parameters

corners
The corners in a stroke
threshold
Threshold between indices (minimum distance between 2)

Return Value

The trimmed corners array

See Also

Corners Class | Fragmenter Namespace