Lines Matching defs:order
59 /** @brief Get the order of the Bezier curve.
60 * A Bezier curve has order() + 1 control points. */
61 unsigned order() const { return inner[X].order(); }
63 unsigned size() const { return inner[X].order() + 1; }
65 * @param ix The (zero-based) index of the control point. Note that the caller is responsible for checking that this value is <= order().
70 * @return Vector with order() + 1 control points. */
75 * @param ix The zero-based index of the point to modify. Note that the caller is responsible for checking that this value is <= order().
82 * @param ps Vector which must contain order() + 1 points.
84 * @throws LogicalError Thrown when the size of the vector does not match the order. */
87 if (ps.size() != order() + 1)
89 for(unsigned i = 0; i <= order(); i++) {
95 /// @name Construct a Bezier curve with runtime-determined order.
110 virtual void setFinal(Point const &v) { setPoint(order(), v); }
118 if(deg == 1 && order() > 1) return OptRect(bounds_local(Geom::derivative(inner[X]), i),
155 return 2 * (order() + 1);
184 /** @brief Construct a Bezier curve of the specified order with all points zero. */
194 /** @brief Construct from two 1D Bezier polynomials of the same order. */
295 * Line segments are Bezier curves of order 1. They have only two control points,
300 /** @brief Quadratic (order 2) Bezier curve.
304 /** @brief Cubic (order 3) Bezier curve.