BezierCurve

class rhino3dm.BezierCurve
Dimension

int: Dimension of Bezier

IsValid

bool: Tests an object to see if it is valid.

IsRational

bool: Gets a value indicating whether or not the curve is rational. Rational curves have control-points with custom weights.

ControlVertexCount

int: Number of control vertices in this curve

PointAt(t)

Evaluates point at a curve parameter.

Parameters:t (float) – Evaluation parameter.
Returns:Point (location of curve at the parameter t).
Return type:rhino3dm.Point3d
TangentAt(t)

Evaluates the unit tangent vector at a curve parameter.

Parameters:t (float) – Evaluation parameter.
Returns:Unit tangent vector of the curve at the parameter t.
Return type:rhino3dm.Vector3d
CurvatureAt(t)

Evaluate the curvature vector at a curve parameter.

Parameters:t (float) – Evaluation parameter.
Returns:Curvature vector of the curve at the parameter t.
Return type:rhino3dm.Vector3d
ToNurbsCurve()

Constructs a NURBS curve representation of this curve.

Returns:NURBS representation of the curve on success, None on failure.
Return type:rhino3dm.NurbsCurve
MakeRational()

Make bezier rational

Returns:True if successful
Return type:bool
MakeNonRational()

Make bezier non-rational

Returns:True if successful
Return type:bool
IncreaseDegree(desiredDegree)

Increase degree of bezier

Returns:True if successful. False if desiredDegree < current degree.
Return type:bool
ChangeDimension(desiredDimension)

Change dimension of bezier.

Returns:True if successful. False if desired_dimension < 1
Return type:bool
Split(t)

[todo] add documentation