Table of Contents

Method ToGeoPoint2

Namespace
GeometryHelper.TeklaConvert
Assembly
GeometryHelper.TeklaConvert.dll

ToGeoPoint2(Point)

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

public static GeoPoint2 ToGeoPoint2(this Point point)

Parameters

point Point

The Tekla point to convert.

Returns

GeoPoint2

The converted GeoPoint2.

Exceptions

ArgumentNullException

Thrown when point is null.

ToGeoPoint2(IEnumerable<Point>)

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

public static List<GeoPoint2> ToGeoPoint2(this IEnumerable<Point> points)

Parameters

points IEnumerable<Point>

The sequence of Tekla points to convert.

Returns

List<GeoPoint2>

A list of converted GeoPoint2.