SurfaceToNurbsSurface Method (Double, Int32) |
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll)

public NurbsSurface ToNurbsSurface( double tolerance, out int accuracy )
Public Function ToNurbsSurface ( tolerance As Double, <OutAttribute> ByRef accuracy As Integer ) As NurbsSurface
Parameters
- tolerance
- Type: SystemDouble
tolerance to use when creating NURBS representation. - accuracy
- Type: SystemInt32
0 = unable to create NURBS representation with desired accuracy.
1 = success - returned NURBS parameterization matches the surface's to the desired accuracy.
2 = success - returned NURBS point locus matches the surface's to the desired accuracy and the domain of the NURBS surface is correct. However, this surface's parameterization and the NURBS surface parameterization may not match to the desired accuracy. This situation happens when getting NURBS representations of surfaces that have a transcendental parameterization like spheres, cylinders, and cones.
Return Value
Type: NurbsSurfaceNurbsSurface on success, null on failure.
