clipper
Public Member Functions | Private Types | Private Attributes
BezierClip< Numeric > Class Template Reference

Implements the BezierClip algorithm. More...

List of all members.

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

Detailed Description

template<typename Numeric>
class BezierClip< Numeric >

Implements the BezierClip algorithm.

Definition at line 1675 of file clipper.cc.


Member Typedef Documentation

template<typename Numeric>
typedef PolynomialBezier<Numeric> BezierClip< Numeric >::NPolynomialBezier [private]

Definition at line 1692 of file clipper.cc.

template<typename Numeric>
typedef PolynomialStandard<Numeric> BezierClip< Numeric >::NPolynomialStandard [private]

Definition at line 1691 of file clipper.cc.


Constructor & Destructor Documentation

template<typename Numeric>
BezierClip< Numeric >::BezierClip ( Numeric  epsilon,
const std::string &  markprefix = "r" 
) [inline]

Definition at line 1696 of file clipper.cc.


Member Function Documentation

template<typename Numeric>
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.

template<typename Numeric>
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.

template<typename Numeric>
unsigned int BezierClip< Numeric >::maxdepth ( ) const [inline]

Definition at line 1702 of file clipper.cc.


Member Data Documentation

template<typename Numeric>
Numeric BezierClip< Numeric >::m_epsilon [private]

epsilon used

Definition at line 1683 of file clipper.cc.

template<typename Numeric>
std::string BezierClip< Numeric >::m_markprefix [private]

prefix for latex labels

Definition at line 1686 of file clipper.cc.

template<typename Numeric>
unsigned int BezierClip< Numeric >::m_maxdepth [private]

maximum recursion depth

Definition at line 1689 of file clipper.cc.

template<typename Numeric>
std::vector< std::pair<Numeric,Numeric> > BezierClip< Numeric >::m_roots [private]

roots found

Definition at line 1680 of file clipper.cc.


The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Typedefs Friends Defines