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:
- 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:
- 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:
- ToNurbsCurve()
Constructs a NURBS curve representation of this curve.
- Returns:
NURBS representation of the curve on success, None on failure.
- Return type:
- 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)
Divides the Bezier curve at the specified parameter.
- Parameters:
t (float) – parameter must satisfy 0 < t < 1
- Returns:
True on success
- Return type:
bool