clipper
|
Implements the BezierClip algorithm. More...
Public Member Functions | |
BezierClip (Numeric epsilon, const std::string &markprefix="r") | |
unsigned int | maxdepth () const |
std::vector< std::pair < Numeric, Numeric > > | findRoots (const NPolynomialStandard &p1, Numeric left, Numeric right) |
void | findRootsRecursive (const NPolynomialBezier &p1, Numeric left, Numeric right, const std::string &mark, unsigned int depth) |
Private Types | |
typedef PolynomialStandard < Numeric > | NPolynomialStandard |
typedef PolynomialBezier< Numeric > | NPolynomialBezier |
Private Attributes | |
std::vector< std::pair < Numeric, Numeric > > | m_roots |
roots found | |
Numeric | m_epsilon |
epsilon used | |
std::string | m_markprefix |
prefix for latex labels | |
unsigned int | m_maxdepth |
maximum recursion depth |
Implements the BezierClip algorithm.
Definition at line 1675 of file clipper.cc.
typedef PolynomialBezier<Numeric> BezierClip< Numeric >::NPolynomialBezier [private] |
Definition at line 1692 of file clipper.cc.
typedef PolynomialStandard<Numeric> BezierClip< Numeric >::NPolynomialStandard [private] |
Definition at line 1691 of file clipper.cc.
BezierClip< Numeric >::BezierClip | ( | Numeric | epsilon, |
const std::string & | markprefix = "r" |
||
) | [inline] |
Definition at line 1696 of file clipper.cc.
std::vector< std::pair<Numeric,Numeric> > BezierClip< Numeric >::findRoots | ( | const NPolynomialStandard & | p1, |
Numeric | left, | ||
Numeric | right | ||
) | [inline] |
Definition at line 1705 of file clipper.cc.
void BezierClip< Numeric >::findRootsRecursive | ( | const NPolynomialBezier & | p1, |
Numeric | left, | ||
Numeric | right, | ||
const std::string & | mark, | ||
unsigned int | depth | ||
) | [inline] |
Definition at line 1775 of file clipper.cc.
unsigned int BezierClip< Numeric >::maxdepth | ( | ) | const [inline] |
Definition at line 1702 of file clipper.cc.
Numeric BezierClip< Numeric >::m_epsilon [private] |
epsilon used
Definition at line 1683 of file clipper.cc.
std::string BezierClip< Numeric >::m_markprefix [private] |
prefix for latex labels
Definition at line 1686 of file clipper.cc.
unsigned int BezierClip< Numeric >::m_maxdepth [private] |
maximum recursion depth
Definition at line 1689 of file clipper.cc.
std::vector< std::pair<Numeric,Numeric> > BezierClip< Numeric >::m_roots [private] |
roots found
Definition at line 1680 of file clipper.cc.