Table of Contents

Method ToGeoPolylineArc3

Namespace
GeometryHelper.TeklaConvert
Assembly
GeometryHelper.TeklaConvert.dll

ToGeoPolylineArc3(PolyLine, IList<double>)

Converts a Tekla polyline to a chain that may curve, bending it at each turn.

public static GeoPolylineArc3 ToGeoPolylineArc3(this PolyLine shape, IList<double> bendingRadii)

Parameters

shape PolyLine
bendingRadii IList<double>

Returns

GeoPolylineArc3

ToGeoPolylineArc3(PolyLine, IList<double>, Tolerance)

Converts a Tekla polyline to a chain that may curve, bending it at each turn, within a tolerance.

public static GeoPolylineArc3 ToGeoPolylineArc3(this PolyLine shape, IList<double> bendingRadii, Tolerance tolerance)

Parameters

shape PolyLine

The Tekla polyline the thing is set out by.

bendingRadii IList<double>

A radius for each bend, in order, the first belonging to the first point that turns; see ToGeoPolylineArc3(IEnumerable<Point>, IList<double>, Tolerance) for how the list is read.

tolerance Tolerance

The tolerance; Tekla coordinates run large, so this is worth giving.

Returns

GeoPolylineArc3

The chain: straight runs with a tangent arc at every bend that had room for one.

Exceptions

ArgumentNullException

Thrown when shape is null.