Describes a rational or non-rational Bezier curve: -- a non-rational Bezier curve is defined by a table of poles (also called control points) -- a rational Bezier curve is defined by a table of poles with varying weights Constructor takes no arguments. Example usage: p1 = Base.Vector(-1, 0, 0) p2 = Base.Vector(0, 1, 0.2) p3 = Base.Vector(1, 0, 0.4) p4 = Base.Vector(0, -1, 1) bc = BezierCurve() bc.setPoles([p1, p2, p3, p4]) curveShape = bc.toShape() Returns the polynomial degree of this Bezier curve, which is equal to the number of poles minus 1. Returns the value of the maximum polynomial degree of any Bezier curve curve. This value is 25. Returns the number of poles of this Bezier curve. Returns the start point of this Bezier curve. Returns the end point of this Bezier curve. Returns false if the weights of all the poles of this Bezier curve are equal. Returns false. Returns true if the distance between the start point and end point of this Bezier curve is less than or equal to gp::Resolution(). increase(Int=Degree) Increases the degree of this Bezier curve to Degree. As a result, the poles and weights tables are modified. Inserts after the pole of index. Inserts before the pole of index. Removes the pole of index Index from the table of poles of this Bezier curve. If this Bezier curve is rational, it can become non-rational. Modifies this Bezier curve by segmenting it. Set a pole of the Bezier curve. Get a pole of the Bezier curve. Get all poles of the Bezier curve. Set the poles of the Bezier curve. Takes a list of 3D Base.Vector objects. (id, weight) Set a weight of the Bezier curve. Get a weight of the Bezier curve. Get all weights of the Bezier curve. Computes for this Bezier curve the parametric tolerance (UTolerance) for a given 3D tolerance (Tolerance3D). If f(t) is the equation of this Bezier curve, the parametric tolerance ensures that: |t1-t0| < UTolerance =""==> |f(t1)-f(t0)| < Tolerance3D