Click or drag to resize

NurbsSurfaceCreateNetworkSurface Method (IEnumerableCurve, Int32, Double, Double, Double, Int32)

Builds a surface from an autosorted network of curves/edges.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
public static NurbsSurface CreateNetworkSurface(
	IEnumerable<Curve> curves,
	int continuity,
	double edgeTolerance,
	double interiorTolerance,
	double angleTolerance,
	out int error


Type: System.Collections.GenericIEnumerableCurve
An array, a list or any enumerable set of curves/edges, sorted automatically into U and V curves.
Type: SystemInt32
continuity along edges, 0 = loose, 1 = pos, 2 = tan, 3 = curvature.
Type: SystemDouble
tolerance to use along network surface edge.
Type: SystemDouble
tolerance to use for the interior curves.
Type: SystemDouble
angle tolerance to use.
Type: SystemInt32
If the NurbsSurface could not be created, the error value describes where the failure occured. 0 = success, 1 = curve sorter failed, 2 = network initializing failed, 3 = failed to build surface, 4 = network surface is not valid.

Return Value

Type: NurbsSurface
A NurbsSurface or null on failure.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.20
See Also