NurbsCurve

Inheritance diagram of rumba.NurbsCurve
class NurbsCurve

A nurbs curve value.

This object is a standard nurbs curve with no other parameter than a position.

Constructors

__init__

Value(: bool) -> None

Methods

closest(p, r, error, max_try, cache)

Compute the curve closest point to p.

degree()

Return the curve degree.

evaluate(u)

Evaluate the curve at a u coordinate.

evaluate_dp(u)

Evaluate the curve position derivatives at a u coordinate.

length(start, end, error)

Compute the curve length between the start and end u parameters.

mode()

Return the curve degree.

range()

Return the curve parameter visible range.

read_knots()

Return the readable curve knots.

read_weights()

Return the readable control points weights.

resample(knots, degree)

Resample a curve.

reverse()

Reverse the control point order.

span()

Return the number of span.

write_knots()

Return the writable curve knots.

write_weights()

Return the writable control points weights.