RhinoCommon API
BrepCreateFromSweepSegmented Method (Curve, IEnumerableCurve, Boolean, Double) |
Sweep1 function that fits a surface through a series of profile curves that define the surface cross-sections
and one curve that defines a surface edge. The Segmented version breaks the rail at curvature kinks
and sweeps each piece separately, then put the results together into a Brep.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll)
Since: 6.14

public static Brep[] CreateFromSweepSegmented( Curve rail, IEnumerable<Curve> shapes, bool closed, double tolerance )
Public Shared Function CreateFromSweepSegmented ( rail As Curve, shapes As IEnumerable(Of Curve), closed As Boolean, tolerance As Double ) As Brep()
Parameters
- rail
- Type: Rhino.GeometryCurve
Rail to sweep shapes along. - shapes
- Type: System.Collections.GenericIEnumerableCurve
Shape curves. - closed
- Type: SystemBoolean
Only matters if shapes are closed. - tolerance
- Type: SystemDouble
Tolerance for fitting surface and rails.
Return Value
Type: BrepArray of Brep sweep results.
