An NDoc Documented Class Library

Corners.trimNoisyCorners Method 

Removes corners where from the inputted corners array where user specified speed and curvature thresholds are not met. In other words, we use this to combine our previous thresholds and see if certain corners fail to be included into both categories. The basic idea is that you can relax thresholds here and see if some points fail miserably on a certain condition. NOTE: I found that this provided bad results, so I don't actually use it but I've included in here just the same.

private int[] trimNoisyCorners(
   int[] corners,
   double speedThreshold,
   double curvThreshold
);

Parameters

corners
The corners in a stroke
speedThreshold
Speed the corner must be below
curvThreshold
Curvature the corner must be below

Return Value

The trimmed corners array

See Also

Corners Class | Fragmenter Namespace