M_Rhino_Geometry_Surface_Fit - mcneel/rhinocommon-api-docs GitHub Wiki
Fits a new surface through an existing surface.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
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
- 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.
Type: Surface
A surface, or null on error.
Supported in: 6.0.16224.21491, 5D58w