Click or drag to resize

NurbsSurfaceCreateThroughPoints Method

Constructs a NURBS surface from a 2D grid of points.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public static NurbsSurface CreateThroughPoints(
	IEnumerable<Point3d> points,
	int uCount,
	int vCount,
	int uDegree,
	int vDegree,
	bool uClosed,
	bool vClosed
)

Parameters

points
Type: System.Collections.GenericIEnumerablePoint3d
Control point locations.
uCount
Type: SystemInt32
Number of points in U direction.
vCount
Type: SystemInt32
Number of points in V direction.
uDegree
Type: SystemInt32
Degree of surface in U direction.
vDegree
Type: SystemInt32
Degree of surface in V direction.
uClosed
Type: SystemBoolean
true if the surface should be closed in the U direction.
vClosed
Type: SystemBoolean
true if the surface should be closed in the V direction.

Return Value

Type: NurbsSurface
A NurbsSurface on success or null on failure.
Remarks
uCount multiplied by vCount must equal the number of points supplied.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.9
See Also