Table of Contents

Method ToGeoPolygonArc3

Namespace
GeometryHelper.TeklaConvert
Assembly
GeometryHelper.TeklaConvert.dll

ToGeoPolygonArc3(Polygon, double)

Converts a Tekla polygon to a closed loop that may curve, bending it at each corner.

public static GeoPolygonArc3 ToGeoPolygonArc3(this Polygon polygon, double bendingRadius)

Parameters

polygon Polygon
bendingRadius double

Returns

GeoPolygonArc3

ToGeoPolygonArc3(Polygon, double, Tolerance)

Converts a Tekla polygon to a closed loop that may curve, bending it at each corner, within a tolerance.

public static GeoPolygonArc3 ToGeoPolygonArc3(this Polygon polygon, double bendingRadius, Tolerance tolerance)

Parameters

polygon Polygon

The Tekla polygon the loop is set out by.

bendingRadius double

The radius of every corner; nought leaves them all square.

tolerance Tolerance

The tolerance.

Returns

GeoPolygonArc3

The loop with its corners rounded.

Remarks

This is the shape a closed tie is: set out by its corners, bent to a radius. The corner closing the loop is rounded like every other, which is what tells a loop from a chain whose ends happen to meet.

Exceptions

ArgumentNullException

Thrown when polygon is null.

ArgumentException

Thrown when the points are not flat, since a loop encloses an area.