24 #ifndef BEZIER_CURVES_H
25 #define BEZIER_CURVES_H
28 #include <wx/gdicmn.h>
29 #include <math/vector2d.h>
39 BEZIER_POLY(
const std::vector<wxPoint>& aControlPoints );
41 BEZIER_POLY(
const std::vector<VECTOR2D>& aControlPoints )
42 : m_ctrlPts( aControlPoints )
55 void GetPoly( std::vector<wxPoint>& aOutput,
int aMinSegLen = 0 );
56 void GetPoly( std::vector<VECTOR2D>& aOutput,
double aMinSegLen = 0.0 );
62 std::vector<VECTOR2D> m_ctrlPts;
Bezier curves to polygon converter.
Definition: bezier_curves.h:37
void GetPoly(std::vector< wxPoint > &aOutput, int aMinSegLen=0)
Convert a Bezier curve to a polygon.
Definition: bezier_curves.cpp:43