NurbsSurface

Inheritance diagram of rumba.NurbsSurface
class NurbsSurface

A nurbs surface value.

This object is a standard nurbs surface. The control points are stored in u order first

Constructors

__init__

Value(: bool) -> None

Methods

closest(p, r, error, max_try)

Compute the surface closest point to p.

control_point(u, v)

Return a single control point.

control_points_u()

Return the number of control points in u.

control_points_v()

Return the number of control points in v.

degree_u()

Return the surface degree in u.

degree_v()

Return the surface degree in v.

evaluate(u, v)

Evaluate the surface at a uv coordinate.

evaluate_dp(u, v, previous_u, previous_v)

Evaluate the surface position derivatives at a uv coordinate.

iso_curve(u, use_v)

Extract an iso curve from the surface.

mode_u()

Return the surface degree in u.

mode_v()

Return the surface degree in v.

range_u()

Return the u parameter range.

range_v()

Return the v parameter range.

read_knots_u()

Return the readable surface knots in u.

read_knots_v()

Return the readable surface knots in v.

set_range_u(r)

Set the u parameter range.

set_range_v(r)

Set the v parameter range.

span_u()

Return the number of span in u.

span_v()

Return the number of span in v.

tessellate(subdivision_u, subdivision_v, ...)

Return a mesh out of the nurbs surface, with the uv and normals if requested.

write_knots_u()

Return the writable surface knots in u.

write_knots_v()

Return the writable surface knots in v.