Semantic of the tolerance argument passed to lwcurve_linearize.
Enumerator
LW_LINEARIZE_TOLERANCE_TYPE_SEGS_PER_QUAD
Tolerance expresses the number of segments to use for each quarter of circle (quadrant).
Must be an integer.
LW_LINEARIZE_TOLERANCE_TYPE_MAX_DEVIATION
Tolerance expresses the maximum distance between an arbitrary point on the curve and the closest point to it on the resulting approximation, in cartesian units.
LW_LINEARIZE_TOLERANCE_TYPE_MAX_ANGLE
Tolerance expresses the maximum angle between the radii generating approximation line vertices, given in radiuses.
A value of 1 would result in an approximation of a semicircle composed by 180 segments