SweepOneRail
Utility class for generating Breps by sweeping cross section curves over a single rail curve. Note, this class has been superseded by the Rhino.Geometry.Brep.CreateFromSweep static functions.
Constructors
Properties
If the input rail is closed, ClosedSweep determines if the swept breps will also be closed.
If true, the sweep is linearly blended from one end to the other, creating sweeps that taper from one cross-section curve to the other. If false, the sweep stays constant at the ends and changes more rapidly in the middle.
0: don't miter, 1: intersect surfaces and trim sweeps, 2: rotate shapes at kinks and don't trim.
Methods
public Brep[] PerformSweep(Curve rail, IEnumerable<Curve> crossSections, IEnumerable<double> crossSectionParameters)
Parameters:
| rail (Curve) | |
| crossSections (IEnumerable<Curve>) | |
| crossSectionParameters (IEnumerable<double>) |
Parameters:
| rail (Curve) | |
| crossSections (IEnumerable<Curve>) |
public Brep[] PerformSweepRebuild(Curve rail, IEnumerable<Curve> crossSections, IEnumerable<double> crossSectionParameters, int rebuildCount)
Parameters:
| rail (Curve) | |
| crossSections (IEnumerable<Curve>) | |
| crossSectionParameters (IEnumerable<double>) | |
| rebuildCount (int) |
Parameters:
| rail (Curve) | |
| crossSections (IEnumerable<Curve>) | |
| rebuildCount (int) |
public Brep[] PerformSweepRefit(Curve rail, IEnumerable<Curve> crossSections, double refitTolerance)
Parameters:
| rail (Curve) | |
| crossSections (IEnumerable<Curve>) | |
| refitTolerance (double) |
public Brep[] PerformSweepRefit(Curve rail, IEnumerable<Curve> crossSections, IEnumerable<double> crossSectionParameters, double refitTolerance)
Parameters:
| rail (Curve) | |
| crossSections (IEnumerable<Curve>) | |
| crossSectionParameters (IEnumerable<double>) | |
| refitTolerance (double) |
Parameters:
| up (Vector3d) |
public void SetToRoadlikeFront()
public void SetToRoadlikeRight()
public void SetToRoadlikeTop()