Table of Contents

Method ToGeoCoordinateSystem3

Namespace
GeometryHelper.TeklaConvert
Assembly
GeometryHelper.TeklaConvert.dll

ToGeoCoordinateSystem3(CoordinateSystem)

Converts a Tekla coordinate system to a GeometryHelper coordinate system.

public static GeoCoordinateSystem3 ToGeoCoordinateSystem3(this CoordinateSystem system)

Parameters

system CoordinateSystem

The Tekla coordinate system to convert.

Returns

GeoCoordinateSystem3

The converted GeoCoordinateSystem3.

Remarks

Tekla stores two axes and leaves the third implied; GeometryHelper stores three and keeps them orthonormal. A Tekla frame whose Y axis is not quite square to its X axis is therefore squared up on the way in rather than carried across as a skewed frame.

Exceptions

ArgumentNullException

Thrown when system is null.

ArgumentException

Thrown when the two axes are parallel or one of them has zero length, since neither pins down a frame.