acos(1) returns 0, so this implies infinite segements to get to 0 error.
This is not reasonable but might be encountered in bad arcs or circles
that have 0 radius. Instead of returning infinite or std::max segments,
we limit the error to be at least 1 IU
(cherry picked from commit
|
||
---|---|---|
.. | ||
geometry | ||
math | ||
bezier_curves.cpp | ||
convert_basic_shapes_to_polygon.cpp | ||
md5_hash.cpp | ||
trigo.cpp |