M_Rhino_Geometry_NurbsSurface_CreateFromPoints - mcneel/rhinocommon-api-docs GitHub Wiki
Constructs a NURBS surface from a 2D grid of control points.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public static NurbsSurface CreateFromPoints(
IEnumerable<Point3d> points,
int uCount,
int vCount,
int uDegree,
int vDegree
)
VB
Public Shared Function CreateFromPoints (
points As IEnumerable(Of Point3d),
uCount As Integer,
vCount As Integer,
uDegree As Integer,
vDegree As Integer
) As NurbsSurface
- 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.
Type: NurbsSurface
A NurbsSurface on success or null on failure.
uCount multiplied by vCount must equal the number of points supplied.
Supported in: 6.0.16224.21491, 5D58w