Table of Contents

Method ToBarRadius

Namespace
GeometryHelper.TeklaConvert
Assembly
GeometryHelper.TeklaConvert.dll

ToBarRadius(RebarGeometry)

Gets the radius of the bar, which is half the diameter Tekla holds.

public static double ToBarRadius(this RebarGeometry geometry)

Parameters

geometry RebarGeometry

The geometry of the bar.

Returns

double

The radius of the bar itself, in millimetres, not the radius of any of its bends.

Remarks

Worth a method of its own because Diameter and a bending radius are both lengths about a bar and are not the same thing at all: this one is how thick the bar is.

Exceptions

ArgumentNullException

Thrown when geometry is null.