28 #include "../system/FreestyleConfig.h"
30 #ifdef WITH_CXX_GUARDEDALLOC
40 std::vector<Vec2d> _ControlPolygon;
41 std::vector<Vec2d> _Vertices;
46 void AddControlPoint(
const Vec2d &iPoint);
51 return _ControlPolygon.size();
59 #ifdef WITH_CXX_GUARDEDALLOC
60 MEM_CXX_CLASS_ALLOC_FUNCS(
"Freestyle:BezierCurveSegment")
66 std::vector<Vec2d> _ControlPolygon;
67 std::vector<BezierCurveSegment *> _Segments;
75 void AddControlPoint(
const Vec2d &iPoint);
79 return _ControlPolygon;
87 #ifdef WITH_CXX_GUARDEDALLOC
88 MEM_CXX_CLASS_ALLOC_FUNCS(
"Freestyle:BezierCurve")
Vectors and Matrices (useful type definitions)
Read Guarded memory(de)allocation.
std::vector< Vec2d > & vertices()
virtual ~BezierCurveSegment()
std::vector< Vec2d > & controlPolygon()
std::vector< BezierCurveSegment * > & segments()
static void error(const char *str)