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
If the input rail is closed, ClosedSweep determines if the swept breps will also be closed.
public bool ClosedSweep { get; set; }

GlobalShapeBlending

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

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
0: don't miter, 1: intersect surfaces and trim sweeps, 2: rotate shapes at kinks and don't trim.
public int MiterType { get; set; }

SweepTolerance

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

Methods

PerformSweep

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

PerformSweep

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

PerformSweep

#Since v5.0
public Brep[] PerformSweep(
rail,
crossSections,
crossSectionParameters
)

PerformSweep

#ExampleSince v5.0
public Brep[] PerformSweep(
rail,
crossSections
)

PerformSweepRebuild

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

PerformSweepRebuild

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

PerformSweepRebuild

#Since v5.0
public Brep[] PerformSweepRebuild(
rail,
crossSections,
crossSectionParameters,
rebuildCount
)

PerformSweepRebuild

#Since v5.0
public Brep[] PerformSweepRebuild(
rail,
crossSections,
rebuildCount
)

PerformSweepRefit

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

PerformSweepRefit

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

PerformSweepRefit

#Since v5.0
public Brep[] PerformSweepRefit(
rail,
crossSections,
refitTolerance
)

PerformSweepRefit

#Since v5.0
public Brep[] PerformSweepRefit(
rail,
crossSections,
crossSectionParameters,
refitTolerance
)

SetRoadlikeUpDirection

#Since v5.0
public void SetRoadlikeUpDirection()

SetToRoadlikeFront

#Since v5.0
public void SetToRoadlikeFront()

SetToRoadlikeRight

#Since v5.0
public void SetToRoadlikeRight()

SetToRoadlikeTop

#Since v5.0
public void SetToRoadlikeTop()