SweepOneRail

public class 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

SweepOneRail

#ExampleSince v5.0
public SweepOneRail()

Properties

AngleToleranceRadians

#Since v5.0
public double AngleToleranceRadians { get; set; }

ClosedSweep

#Since v5.0
public bool ClosedSweep { get; set; }
If the input rail is closed, ClosedSweep determines if the swept breps will also be closed.

GlobalShapeBlending

#Since v5.1
public bool GlobalShapeBlending { get; set; }
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.

IsFreeform

#Since v5.0
public bool IsFreeform { get; }

IsRoadlike

#Since v5.0
public bool IsRoadlike { get; }

IsRoadlikeFront

#Since v5.0
public bool IsRoadlikeFront { get; }

IsRoadlikeTop

#Since v5.0
public bool IsRoadlikeTop { get; }

IsRoadlineRight

#Since v5.0
public bool IsRoadlineRight { get; }

MiterType

#Since v5.0
public int MiterType { get; set; }
0: don't miter, 1: intersect surfaces and trim sweeps, 2: rotate shapes at kinks and don't trim.

SweepTolerance

#Since v5.0
public double SweepTolerance { get; set; }

Methods

PerformSweep

#Since v5.0
public Brep[] PerformSweep(Curve rail, Curve crossSection, double crossSectionParameter)
rail (Curve)
crossSection (Curve)
crossSectionParameter (double)

PerformSweep

#Since v5.0
public Brep[] PerformSweep(Curve rail, Curve crossSection)
rail (Curve)
crossSection (Curve)

PerformSweep

#Since v5.0
public Brep[] PerformSweep(Curve rail, IEnumerable<Curve> crossSections, IEnumerable<double> crossSectionParameters)
rail (Curve)
crossSections (IEnumerable<Curve>)
crossSectionParameters (IEnumerable<double>)

PerformSweep

#ExampleSince v5.0
public Brep[] PerformSweep(Curve rail, IEnumerable<Curve> crossSections)
rail (Curve)
crossSections (IEnumerable<Curve>)

PerformSweepRebuild

#Since v5.0
public Brep[] PerformSweepRebuild(Curve rail, Curve crossSection, double crossSectionParameter, int rebuildCount)
rail (Curve)
crossSection (Curve)
crossSectionParameter (double)
rebuildCount (int)

PerformSweepRebuild

#Since v5.0
public Brep[] PerformSweepRebuild(Curve rail, Curve crossSection, int rebuildCount)
rail (Curve)
crossSection (Curve)
rebuildCount (int)

PerformSweepRebuild

#Since v5.0
public Brep[] PerformSweepRebuild(Curve rail, IEnumerable<Curve> crossSections, IEnumerable<double> crossSectionParameters, int rebuildCount)
rail (Curve)
crossSections (IEnumerable<Curve>)
crossSectionParameters (IEnumerable<double>)
rebuildCount (int)

PerformSweepRebuild

#Since v5.0
public Brep[] PerformSweepRebuild(Curve rail, IEnumerable<Curve> crossSections, int rebuildCount)
rail (Curve)
crossSections (IEnumerable<Curve>)
rebuildCount (int)

PerformSweepRefit

#Since v5.0
public Brep[] PerformSweepRefit(Curve rail, Curve crossSection, double crossSectionParameter, double refitTolerance)
rail (Curve)
crossSection (Curve)
crossSectionParameter (double)
refitTolerance (double)

PerformSweepRefit

#Since v5.0
public Brep[] PerformSweepRefit(Curve rail, Curve crossSection, double refitTolerance)
rail (Curve)
crossSection (Curve)
refitTolerance (double)

PerformSweepRefit

#Since v5.0
public Brep[] PerformSweepRefit(Curve rail, IEnumerable<Curve> crossSections, double refitTolerance)
rail (Curve)
crossSections (IEnumerable<Curve>)
refitTolerance (double)

PerformSweepRefit

#Since v5.0
public Brep[] PerformSweepRefit(Curve rail, IEnumerable<Curve> crossSections, IEnumerable<double> crossSectionParameters, double refitTolerance)
rail (Curve)
crossSections (IEnumerable<Curve>)
crossSectionParameters (IEnumerable<double>)
refitTolerance (double)

SetRoadlikeUpDirection

#Since v5.0
public void SetRoadlikeUpDirection(Vector3d up)
up (Vector3d)

SetToRoadlikeFront

#Since v5.0
public void SetToRoadlikeFront()

SetToRoadlikeRight

#Since v5.0
public void SetToRoadlikeRight()

SetToRoadlikeTop

#Since v5.0
public void SetToRoadlikeTop()