M_Rhino_Geometry_Surface_Rebuild - mcneel/rhinocommon-api-docs GitHub Wiki

Surface.Rebuild Method

Rebuilds an existing surface to a given degree and point count.

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

Syntax

C#

public NurbsSurface Rebuild(
	int uDegree,
	int vDegree,
	int uPointCount,
	int vPointCount
)

VB

Public Function Rebuild ( 
	uDegree As Integer,
	vDegree As Integer,
	uPointCount As Integer,
	vPointCount As Integer
) As NurbsSurface

Parameters

 

uDegree
Type: System.Int32
the output surface u degree.
vDegree
Type: System.Int32
the output surface u degree.
uPointCount
Type: System.Int32
The number of points in the output surface u direction. Must be bigger than uDegree (maximum value is 1000)
vPointCount
Type: System.Int32
The number of points in the output surface v direction. Must be bigger than vDegree (maximum value is 1000)

Return Value

Type: NurbsSurface
new rebuilt surface on success. null on failure.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Surface Class
Rhino.Geometry Namespace

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