|
LibreOffice Module basegfx (master) 1
|
#include <vector>Go to the source code of this file.
Classes | |
| struct | Point2D |
| struct | Bezier |
| struct | FatLine |
Typedefs | |
| typedef std::vector< Point2D > | Polygon2D |
Functions | |
| template<typename DataType > | |
| DataType | calcLineDistance (const DataType &a, const DataType &b, const DataType &c, const DataType &x, const DataType &y) |
| template<typename NumType > | |
| NumType | absval (NumType x) |
| Polygon2D | convexHull (const Polygon2D &rPoly) |
| template<typename NumType > | |
| bool | tolZero (NumType n) |
| template<typename NumType > | |
| bool | tolEqual (NumType n1, NumType n2) |
| template<typename NumType > | |
| bool | tolLessEqual (NumType n1, NumType n2) |
| template<typename NumType > | |
| bool | tolGreaterEqual (NumType n1, NumType n2) |
Variables | |
| constexpr auto | DBL_EPSILON = 1.0e-100 |
Definition at line 65 of file bezierclip.hxx.
| NumType absval | ( | NumType | x | ) |
| DataType calcLineDistance | ( | const DataType & | a, |
| const DataType & | b, | ||
| const DataType & | c, | ||
| const DataType & | x, | ||
| const DataType & | y | ||
| ) |
Definition at line 56 of file bezierclip.hxx.
Referenced by Impl_calcClipRange(), and Impl_calcFatLine().
Definition at line 150 of file convexhull.cxx.
References ccw(), i, M, min(), N, result, x, and y.
Referenced by Impl_calcSafeParams(), Impl_calcSafeParams_clip(), Impl_calcSafeParams_focus(), and main().
| bool tolEqual | ( | NumType | n1, |
| NumType | n2 | ||
| ) |
Definition at line 80 of file bezierclip.hxx.
References n1, n2, and tolZero().
Referenced by Impl_calcSafeParams(), Impl_deCasteljauAt(), tolGreaterEqual(), and tolLessEqual().
| bool tolGreaterEqual | ( | NumType | n1, |
| NumType | n2 | ||
| ) |
Definition at line 82 of file bezierclip.hxx.
References n1, n2, and tolEqual().
Referenced by Impl_applySafeRanges_rec(), and Impl_calcSafeParams().
| bool tolLessEqual | ( | NumType | n1, |
| NumType | n2 | ||
| ) |
Definition at line 81 of file bezierclip.hxx.
References n1, n2, and tolEqual().
Referenced by Impl_applySafeRanges_rec(), and Impl_calcSafeParams().
| bool tolZero | ( | NumType | n | ) |
Definition at line 79 of file bezierclip.hxx.
References DBL_EPSILON, and n.
Referenced by Impl_calcFatLine(), Impl_calcSafeParams(), Impl_deCasteljauAt(), and tolEqual().
|
constexpr |
Definition at line 76 of file bezierclip.hxx.
Referenced by tolZero().