Constructor ClashBar
- Namespace
- GeometryHelper.Clash
- Assembly
- GeometryHelper.dll
ClashBar(GeoPolylineArc3, double)
Initializes a bar from its centre line and its radius, its bends followed to a thousandth of the radius.
public ClashBar(GeoPolylineArc3 centreLine, double radius)
Parameters
centreLineGeoPolylineArc3The centre line, with its bends as arcs.
radiusdoubleThe radius of the bar itself.
Exceptions
- ArgumentNullException
Thrown when the centre line is null.
- ArgumentOutOfRangeException
Thrown when the radius is not a positive number.
ClashBar(GeoPolylineArc3, double, double)
Initializes a bar from its centre line and its radius, its bends followed to a chord tolerance.
public ClashBar(GeoPolylineArc3 centreLine, double radius, double chordTolerance)
Parameters
centreLineGeoPolylineArc3The centre line, with its bends as arcs.
radiusdoubleThe radius of the bar itself.
chordTolerancedoubleHow far the straight pieces a bend is followed by may stray from it.
Exceptions
- ArgumentNullException
Thrown when the centre line is null.
- ArgumentOutOfRangeException
Thrown when the radius or the chord tolerance is not a positive number.
ClashBar(GeoPolyline3, double)
Initializes a straight-run bar from its centre line and its radius.
public ClashBar(GeoPolyline3 centreLine, double radius)
Parameters
centreLineGeoPolyline3The centre line.
radiusdoubleThe radius of the bar itself.
Exceptions
- ArgumentNullException
Thrown when the centre line is null.
- ArgumentOutOfRangeException
Thrown when the radius is not a positive number.