Lines Matching defs:BezierCurve
47 class BezierCurve : public Curve {
50 BezierCurve() {}
51 BezierCurve(Bezier const &x, Bezier const &y) : inner(x, y) {}
52 BezierCurve(std::vector<Point> const &pts);
55 explicit BezierCurve(D2<Bezier> const &b) : inner(b) {}
88 THROW_LOGICALERROR("BezierCurve::setPoints: incorrect number of points in vector");
98 * This will construct the appropriate specialization of BezierCurve (i.e. LineSegment,
101 static BezierCurve *create(std::vector<Point> const &pts);
123 return new BezierCurve(*this);
126 return new BezierCurve(Geom::portion(inner, f, t));
129 return new BezierCurve(Geom::reverse(inner));
152 return new BezierCurve(Geom::derivative(inner[X]), Geom::derivative(inner[Y]));
176 : public BezierCurve
202 if (ord != degree) THROW_LOGICALERROR("BezierCurve<degree> does not match number of points");
249 return BezierCurve::isDegenerate();
276 return BezierCurve::nearestTime(p, from, to);
280 return BezierCurve::intersect(other, eps);
287 BezierCurve::feed(sink, moveto_initial);