Click or drag to resize

NurbsSurface Constructor (Int32, Boolean, Int32, Int32, Int32, Int32)

Constructs a new NURBS surface with knot and control point memory allocated.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 9.0
Syntax
public NurbsSurface(
	int dimension,
	bool isRational,
	int order0,
	int order1,
	int controlPointCount0,
	int controlPointCount1
)

Parameters

dimension
Type: SystemInt32
The number of dimensions.

>= 1. This value is usually 3.

isRational
Type: SystemBoolean
true to make a rational NURBS.
order0
Type: SystemInt32
The order in U direction.

>= 2.

order1
Type: SystemInt32
The order in V direction.

>= 2.

controlPointCount0
Type: SystemInt32
Control point count in U direction.

>= order0.

controlPointCount1
Type: SystemInt32
Control point count in V direction.

>= order1.

Remarks
If any argument is out of range, the surface is empty and not valid. Use Create(Int32, Boolean, Int32, Int32, Int32, Int32) to get null instead.
See Also