26 std::vector<Vec2d> _ControlPolygon;
27 std::vector<Vec2d> _Vertices;
37 return _ControlPolygon.size();
45 MEM_CXX_CLASS_ALLOC_FUNCS(
"Freestyle:BezierCurveSegment")
50 std::vector<Vec2d> _ControlPolygon;
51 std::vector<BezierCurveSegment *> _Segments;
63 return _ControlPolygon;
71 MEM_CXX_CLASS_ALLOC_FUNCS(
"Freestyle:BezierCurve")
Configuration definitions.
Vectors and Matrices (useful type definitions).
Read Guarded memory(de)allocation.
std::vector< Vec2d > & vertices()
void AddControlPoint(const Vec2d &iPoint)
virtual ~BezierCurveSegment()
BezierCurve(std::vector< Vec2d > &iPoints, double error=4.0)
void AddControlPoint(const Vec2d &iPoint)
std::vector< Vec2d > & controlPolygon()
std::vector< BezierCurveSegment * > & segments()
static void error(const char *str)
VecMat::Vec2< double > Vec2d