Added BezierCurve:getControlPointCount (resolves issue #759)

This commit is contained in:
Alex Szpakowski
2013-10-11 02:53:53 -03:00
parent b21f8ed3af
commit e2eb99a6af
3 changed files with 17 additions and 0 deletions
+8
View File
@@ -73,6 +73,14 @@ public:
**/
void insertControlPoint(const Vector &point, int pos = -1);
/**
* @returns Number of control points.
**/
size_t getControlPointCount() const
{
return controlPoints.size();
}
/**
* Move the curve.
* @param t Translation vector.