fitAnchored
public boolean fitAnchored(int anchor0,
int anchor1,
org.ddogleg.struct.GrowQueue_I32 corners,
org.ddogleg.struct.GrowQueue_I32 output)
Fits line segments along the contour with the first and last corner fixed at the original corners. The output
will be a new set of corner indexes. Since the corner list is circular, it is assumed that anchor1 comes after
anchor0. The same index can be specified for an anchor, it will just go around the entire circle
- Parameters:
anchor0 - corner index of the first end point
anchor1 - corner index of the second end point.
corners - Initial location of the corners
output - Optimized location of the corners