Table of Contents

Method ToGeoVector2

Namespace
GeometryHelper.TeklaConvert
Assembly
GeometryHelper.TeklaConvert.dll

ToGeoVector2(Vector)

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

public static GeoVector2 ToGeoVector2(this Vector vector)

Parameters

vector Vector

The Tekla vector to convert.

Returns

GeoVector2

The converted GeoVector2.

Exceptions

ArgumentNullException

Thrown when vector is null.

ToGeoVector2(IEnumerable<Vector>)

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

public static List<GeoVector2> ToGeoVector2(this IEnumerable<Vector> vectors)

Parameters

vectors IEnumerable<Vector>

The sequence of Tekla vectors to convert.

Returns

List<GeoVector2>

A list of converted GeoVector2.