24 #ifndef BEZIER_CURVES_H 25 #define BEZIER_CURVES_H 28 #include <wx/gdicmn.h> 39 BEZIER_POLY(
const std::vector<wxPoint>& aControlPoints );
55 void GetPoly( std::vector<wxPoint>& aOutput,
int aMinSegLen = 0 );
56 void GetPoly( std::vector<VECTOR2D>& aOutput,
double aMinSegLen = 0.0 );
65 #endif // BEZIER_CURVES_H BEZIER_POLY(const std::vector< wxPoint > &aControlPoints)
std::vector< VECTOR2D > m_ctrlPts
void GetPoly(std::vector< wxPoint > &aOutput, int aMinSegLen=0)
Convert a Bezier curve to a polygon.
BEZIER_POLY(const std::vector< VECTOR2D > &aControlPoints)
Bezier curves to polygon converter.
double m_minSegLen
Control points.