Table of Contents

Method ToGeoPolylineArc3

Namespace
GeometryHelper.TeklaConvert
Assembly
GeometryHelper.TeklaConvert.dll

ToGeoPolylineArc3(Polygon, IList<double>)

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

public static GeoPolylineArc3 ToGeoPolylineArc3(this Polygon polygon, IList<double> bendingRadii)

Parameters

polygon Polygon
bendingRadii IList<double>

Returns

GeoPolylineArc3

ToGeoPolylineArc3(Polygon, IList<double>, Tolerance)

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

public static GeoPolylineArc3 ToGeoPolylineArc3(this Polygon polygon, IList<double> bendingRadii, Tolerance tolerance)

Parameters

polygon Polygon

The Tekla polygon 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.

tolerance Tolerance

The tolerance.

Returns

GeoPolylineArc3

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

Exceptions

ArgumentNullException

Thrown when polygon is null.