19 return controlPoints[i];
25 controlPoints[i] = point;
40 *result = p0 + p1 + p2 + p3;
Points and vectors using homogeneous coordinates.
std::vector< Point4D > controlPoints
Point4D GetControlPoint(int i)
Returns a copy a control point.
Header file for V-ART class "Bezier".
static const Point4D & ORIGIN()
The (0,0,0,1) point.
void SetControlPoint(int i, const Point4D &point)
Assigns a (copy of a) control point.
virtual void GetPoint(double t, Point4D *result)
Returns a point of the curve.