Click or drag to resize

SweepTwoRailPerformSweepRefit Method (Curve, Curve, IEnumerableCurve, IEnumerableDouble, IEnumerableDouble, Double)

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[] PerformSweepRefit(
	Curve rail1,
	Curve rail2,
	IEnumerable<Curve> crossSections,
	IEnumerable<double> crossSectionParametersRail1,
	IEnumerable<double> crossSectionParametersRail2,
	double refitTolerance
)

Parameters

rail1
Type: Rhino.GeometryCurve
Rail to sweep shapes along.
rail2
Type: Rhino.GeometryCurve
Rail to sweep shapes along.
crossSections
Type: System.Collections.GenericIEnumerableCurve
Shape curves.
crossSectionParametersRail1
Type: System.Collections.GenericIEnumerableDouble
Curve parameters on first rail curve. Unused if is true.
crossSectionParametersRail2
Type: System.Collections.GenericIEnumerableDouble
Curve parameters on second rail curve. Unused if is true.
refitTolerance
Type: SystemDouble
Refit tolerance.

Return Value

Type: Brep
Array of Brep sweep results.
See Also