Table of Contents

Method ToTeklaPolyLine

Namespace
GeometryHelper.TeklaConvert
Assembly
GeometryHelper.TeklaConvert.dll

ToTeklaPolyLine(GeoPolyline3)

Converts a GeometryHelper chain to a Tekla polyline.

public static PolyLine ToTeklaPolyLine(this GeoPolyline3 polyline)

Parameters

polyline GeoPolyline3

The chain to convert.

Returns

PolyLine

The converted Tekla polyline.

Exceptions

ArgumentNullException

Thrown when polyline is null.

ToTeklaPolyLine(GeoPolylineArc3, double)

Converts a chain that may curve to a Tekla polyline, following its arcs to a given accuracy.

public static PolyLine ToTeklaPolyLine(this GeoPolylineArc3 chain, double chordTolerance)

Parameters

chain GeoPolylineArc3

The chain to convert.

chordTolerance double

How far the straight pieces may fall inside an arc.

Returns

PolyLine

The converted Tekla polyline.

Remarks

A Tekla polyline holds points and no bulges, so a curve cannot survive the trip. The accuracy sits in the call rather than being chosen here, which is the same bargain ToPolyline3(double) offers.

Exceptions

ArgumentNullException

Thrown when chain is null.