Click or drag to resize

SweepTwoRailPerformSweep Method (Curve, Curve, IEnumerableCurve, IEnumerableDouble, IEnumerableDouble)

Sweep2 function that fits a surface through profile curves that define the surface cross-sections and two curves that defines a surface edge.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntax
public Brep[] PerformSweep(
	Curve rail1,
	Curve rail2,
	IEnumerable<Curve> crossSections,
	IEnumerable<double> crossSectionParameters1,
	IEnumerable<double> crossSectionParameters2
)

Parameters

rail1
Type: Rhino.GeometryCurve
Rail to sweep shapes along.
rail2
Type: Rhino.GeometryCurve
Rail to sweep shapes along.
crossSections
Type: System.Collections.GenericIEnumerableCurve
Cross section curves.
crossSectionParameters1
Type: System.Collections.GenericIEnumerableDouble
Curve parameters on first rail curve. Unused if is true.
crossSectionParameters2
Type: System.Collections.GenericIEnumerableDouble
Curve parameters on second rail curve. Unused if is true.

Return Value

Type: Brep
Array of Brep sweep results.
See Also