Table of Contents

Method ToGeoPolylineArc3

Namespace
GeometryHelper.TeklaConvert
Assembly
GeometryHelper.TeklaConvert.dll

ToGeoPolylineArc3(RebarGeometry)

Converts the geometry of a bar to a chain that may curve.

public static GeoPolylineArc3 ToGeoPolylineArc3(this RebarGeometry geometry)

Parameters

geometry RebarGeometry

Returns

GeoPolylineArc3

ToGeoPolylineArc3(RebarGeometry, Tolerance)

Converts the geometry of a bar to a chain that may curve, within a tolerance.

public static GeoPolylineArc3 ToGeoPolylineArc3(this RebarGeometry geometry, Tolerance tolerance)

Parameters

geometry RebarGeometry

The geometry, as Reinforcement.GetRebarGeometries hands it back.

tolerance Tolerance

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

Returns

GeoPolylineArc3

The bar: straight runs with a tangent arc at every bend.

Exceptions

ArgumentNullException

Thrown when geometry is null.

ArgumentException

Thrown when the geometry holds no shape, or fewer than two distinct points.