Table of Contents

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

centreLine GeoPolylineArc3

The centre line, with its bends as arcs.

radius double

The 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

centreLine GeoPolylineArc3

The centre line, with its bends as arcs.

radius double

The radius of the bar itself.

chordTolerance double

How 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

centreLine GeoPolyline3

The centre line.

radius double

The radius of the bar itself.

Exceptions

ArgumentNullException

Thrown when the centre line is null.

ArgumentOutOfRangeException

Thrown when the radius is not a positive number.