M_Rhino_Geometry_NurbsSurface_CreateNetworkSurface_1 - mcneel/rhinocommon-api-docs GitHub Wiki
NurbsSurface.CreateNetworkSurface Method (IEnumerable(Curve), Int32, Int32, IEnumerable(Curve), Int32, Int32, Double, Double, Double, Int32)
Builds a surface from an ordered network of curves/edges.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public static NurbsSurface CreateNetworkSurface(
IEnumerable<Curve> uCurves,
int uContinuityStart,
int uContinuityEnd,
IEnumerable<Curve> vCurves,
int vContinuityStart,
int vContinuityEnd,
double edgeTolerance,
double interiorTolerance,
double angleTolerance,
out int error
)
VB
Public Shared Function CreateNetworkSurface (
uCurves As IEnumerable(Of Curve),
uContinuityStart As Integer,
uContinuityEnd As Integer,
vCurves As IEnumerable(Of Curve),
vContinuityStart As Integer,
vContinuityEnd As Integer,
edgeTolerance As Double,
interiorTolerance As Double,
angleTolerance As Double,
<OutAttribute> ByRef error As Integer
) As NurbsSurface
- uCurves
- Type: System.Collections.Generic.IEnumerable(Curve)
An array, a list or any enumerable set of U curves. - uContinuityStart
- Type: System.Int32
continuity at first U segment, 0 = loose, 1 = pos, 2 = tan, 3 = curvature. - uContinuityEnd
- Type: System.Int32
continuity at last U segment, 0 = loose, 1 = pos, 2 = tan, 3 = curvature. - vCurves
- Type: System.Collections.Generic.IEnumerable(Curve)
An array, a list or any enumerable set of V curves. - vContinuityStart
- Type: System.Int32
continuity at first V segment, 0 = loose, 1 = pos, 2 = tan, 3 = curvature. - vContinuityEnd
- Type: System.Int32
continuity at last V segment, 0 = loose, 1 = pos, 2 = tan, 3 = curvature. - edgeTolerance
- Type: System.Double
tolerance to use along network surface edge. - interiorTolerance
- Type: System.Double
tolerance to use for the interior curves. - angleTolerance
- Type: System.Double
angle tolerance to use. - error
- Type: System.Int32
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.
Type: NurbsSurface
A NurbsSurface or null on failure.
Supported in: 6.0.16224.21491, 5D58w
NurbsSurface Class
CreateNetworkSurface Overload
Rhino.Geometry Namespace