RhinoNurbsSurface.from_plane

classmethod RhinoNurbsSurface.from_plane(plane, domain_u=(0, 1), domain_v=(0, 1), degree_u=1, degree_v=1, pointcount_u=2, pointcount_v=2)[source]

Construct a surface from a plane.

Parameters:
planecompas.geometry.Plane

The plane.

domain_utuple[int, int], optional

The domain of the U parameter.

domain_vtuple[int, int], optional

The domain of the V parameter.

degree_uint, optional

Degree in the U direction.

degree_vint, optional

Degree in the V direction.

pointcount_uint, optional

Number of control points in the U direction.

pointcount_vint, optional

Number of control points in the V direction.

Returns:
compas_rhino.geometry.RhinoNurbsSurface