Table of Contents

Class VectorConvert

Namespace
GeometryHelper.TeklaConvert
Assembly
GeometryHelper.TeklaConvert.dll

Converts geometry between Tekla Structures and GeometryHelper.

The two libraries describe the same shapes and disagree only about names and about how much they insist on. Tekla hands back what its modeller happens to hold; GeometryHelper asks for flatness, for a closed boundary, and for normals that point out of the body. The conversions here do that checking rather than trusting it, because a body that only looks right measures wrong later and says nothing about why.

Tekla models in millimetres with coordinates that can run to hundreds of thousands, and a face of a twelve metre member is rarely flat to the last decimal. The default tolerance is often too tight for that, so every conversion that needs one takes it, and the overloads without one read Global as everywhere else.

public static class VectorConvert
Inheritance
VectorConvert
Inherited Members

Methods

ToGeoVector2(IEnumerable<Vector>)

Converts a sequence of Tekla vectors to a list of GeometryHelper 2D vectors (discarding their Z coordinates).

ToGeoVector2(Vector)

Converts a Tekla vector to a GeometryHelper 2D vector (discarding the Z coordinate).

ToGeoVector3(IEnumerable<Vector>)

Converts a sequence of Tekla vectors to a list of GeometryHelper vectors.

ToGeoVector3(Vector)

Converts a Tekla vector to a GeometryHelper vector.

ToTeklaVector(GeoVector2)

Converts a GeometryHelper 2D vector to a Tekla vector (with Z = 0).

ToTeklaVector(GeoVector3)

Converts a GeometryHelper vector to a Tekla vector.

ToTeklaVector(IEnumerable<GeoVector2>)

Converts a sequence of GeometryHelper 2D vectors to a list of Tekla vectors (with Z = 0).

ToTeklaVector(IEnumerable<GeoVector3>)

Converts a sequence of GeometryHelper vectors to a list of Tekla vectors.