Table of Contents

Method Pipe

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

Pipe(GeoPolyline3, double, double)

Makes a round bar along a chain, using the default tolerance.

public static GeoSolid3 Pipe(GeoPolyline3 path, double radius, double chordTolerance)

Parameters

path GeoPolyline3
radius double
chordTolerance double

Returns

GeoSolid3

Pipe(GeoPolyline3, double, double, Tolerance)

Makes a round bar along a chain, its section a polygon no further than a chord tolerance from the circle.

public static GeoSolid3 Pipe(GeoPolyline3 path, double radius, double chordTolerance, Tolerance tolerance)

Parameters

path GeoPolyline3

The centre line.

radius double

The radius of the bar.

chordTolerance double

The largest gap allowed between the section and its circle; nought picks one from the radius.

tolerance Tolerance

The tolerance.

Returns

GeoSolid3

The body, wound outwards.

Exceptions

ArgumentNullException

Thrown when the path is null.

ArgumentOutOfRangeException

Thrown when the radius is not positive.

ArgumentException

Thrown when the path has no length or turns back on itself.

Pipe(GeoPolylineArc3, double, double)

Makes a bent round bar along a chain with bends, using the default tolerance.

public static GeoSolid3 Pipe(GeoPolylineArc3 path, double radius, double chordTolerance)

Parameters

path GeoPolylineArc3
radius double
chordTolerance double

Returns

GeoSolid3

Pipe(GeoPolylineArc3, double, double, Tolerance)

Makes a bent round bar along a chain with bends — a reinforcing bar from its centre line — the bends and the section each cut into chords no further than a tolerance from the curve.

public static GeoSolid3 Pipe(GeoPolylineArc3 path, double radius, double chordTolerance, Tolerance tolerance)

Parameters

path GeoPolylineArc3

The centre line, bends and all.

radius double

The radius of the bar.

chordTolerance double

The largest gap allowed between a chord and its curve; nought picks one from the radius.

tolerance Tolerance

The tolerance.

Returns

GeoSolid3

The body, wound outwards.

Exceptions

ArgumentNullException

Thrown when the path is null.

ArgumentOutOfRangeException

Thrown when the radius is not positive.

ArgumentException

Thrown when the path has no length or turns back on itself.