M_Rhino_Geometry_NurbsSurface_CreateThroughPoints - mcneel/rhinocommon-api-docs GitHub Wiki

NurbsSurface.CreateThroughPoints Method

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

Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0

Syntax

C#

public static NurbsSurface CreateThroughPoints(
	IEnumerable<Point3d> points,
	int uCount,
	int vCount,
	int uDegree,
	int vDegree,
	bool uClosed,
	bool vClosed
)

VB

Public Shared Function CreateThroughPoints ( 
	points As IEnumerable(Of Point3d),
	uCount As Integer,
	vCount As Integer,
	uDegree As Integer,
	vDegree As Integer,
	uClosed As Boolean,
	vClosed As Boolean
) As NurbsSurface

Parameters

 

points
Type: System.Collections.Generic.IEnumerable(Point3d)
Control point locations.
uCount
Type: System.Int32
Number of points in U direction.
vCount
Type: System.Int32
Number of points in V direction.
uDegree
Type: System.Int32
Degree of surface in U direction.
vDegree
Type: System.Int32
Degree of surface in V direction.
uClosed
Type: System.Boolean
true if the surface should be closed in the U direction.
vClosed
Type: System.Boolean
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

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

NurbsSurface Class
Rhino.Geometry Namespace

⚠️ **GitHub.com Fallback** ⚠️