14 #include "../system/FreestyleConfig.h"
16 #ifdef WITH_CXX_GUARDEDALLOC
26 std::vector<Vec2d> _ControlPolygon;
27 std::vector<Vec2d> _Vertices;
32 void AddControlPoint(
const Vec2d &iPoint);
37 return _ControlPolygon.size();
45 #ifdef WITH_CXX_GUARDEDALLOC
46 MEM_CXX_CLASS_ALLOC_FUNCS(
"Freestyle:BezierCurveSegment")
52 std::vector<Vec2d> _ControlPolygon;
53 std::vector<BezierCurveSegment *> _Segments;
61 void AddControlPoint(
const Vec2d &iPoint);
65 return _ControlPolygon;
73 #ifdef WITH_CXX_GUARDEDALLOC
74 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)