diff options
Diffstat (limited to 'basegfx/source/workbench/bezierclip.hxx')
-rw-r--r-- | basegfx/source/workbench/bezierclip.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/basegfx/source/workbench/bezierclip.hxx b/basegfx/source/workbench/bezierclip.hxx index bb9153be3680..11ab32109414 100644 --- a/basegfx/source/workbench/bezierclip.hxx +++ b/basegfx/source/workbench/bezierclip.hxx @@ -76,7 +76,7 @@ Polygon2D convexHull( const Polygon2D& rPoly ); // TODO: find proper epsilon here (try ::std::numeric_limits<NumType>::epsilon()?)! #define DBL_EPSILON 1.0e-100 -/* little approximate comparions */ +/* little approximate comparisons */ template <typename NumType> bool tolZero( NumType n ) { return fabs(n) < DBL_EPSILON; } template <typename NumType> bool tolEqual( NumType n1, NumType n2 ) { return tolZero(n1-n2); } template <typename NumType> bool tolLessEqual( NumType n1, NumType n2 ) { return tolEqual(n1,n2) || n1<n2; } |