| Package | Description |
|---|---|
| com.caffeineowl.graphics.bezier.flatnessalgos |
| Class and Description |
|---|
| ConvexHullFlatnessAlgo |
| LineDefectFlatnessAlgo
The algorithm computes the defected as the distance between
the actual location control point(s) and the location of
the control point(s) of a totally degenerated Bezier segment:
for a quadratic Bezier, that's the mid point of the segment
connecting the anchor points,
for a totally degenerated cubic, the locations of the
control points are at
1/3 and 2/3
positions of the segment that connects the anchor points. |
| SimpleConvexHullFlatness
Computes the flatness based on the maximum distance between any of the control
points of a cubic Bezier (
SimpleConvexHullFlatness.getFlatness(CubicCurve2D) or quadratic
Bezier (SimpleConvexHullFlatness.getFlatness(QuadCurve2D) and the line defined by the
anchor points of the Bezier curve. |
Copyright © 2016. All rights reserved.