RhinoCommon API
BrepCreateFromSweep Method (Curve, Curve, Boolean, Double) |
Sweep1 function that fits a surface through a profile curve that define the surface cross-sections
and one curve that defines a surface edge.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll)
Since: 5.0

public static Brep[] CreateFromSweep( Curve rail, Curve shape, bool closed, double tolerance )
Public Shared Function CreateFromSweep ( rail As Curve, shape As Curve, closed As Boolean, tolerance As Double ) As Brep()
Parameters
- rail
- Type: Rhino.GeometryCurve
Rail to sweep shapes along - shape
- Type: Rhino.GeometryCurve
Shape curve - closed
- Type: SystemBoolean
Only matters if shape is closed - tolerance
- Type: SystemDouble
Tolerance for fitting surface and rails
Return Value
Type: BrepArray of Brep sweep results
