M_Rhino_Geometry_Surface_Fit - mcneel/rhinocommon-api-docs GitHub Wiki

Surface.Fit Method

Fits a new surface through an existing surface.

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

Syntax

C#

public Surface Fit(
	int uDegree,
	int vDegree,
	double fitTolerance
)

VB

Public Function Fit ( 
	uDegree As Integer,
	vDegree As Integer,
	fitTolerance As Double
) As Surface

Parameters

 

uDegree
Type: System.Int32
the output surface U degree. Must be bigger than 1.
vDegree
Type: System.Int32
the output surface V degree. Must be bigger than 1.
fitTolerance
Type: System.Double
The fitting tolerance.

Return Value

Type: Surface
A surface, or null on error.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Surface Class
Rhino.Geometry Namespace

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