Table of Contents

Method ToGeoPolyline2

Namespace
GeometryHelper.TeklaConvert
Assembly
GeometryHelper.TeklaConvert.dll

ToGeoPolyline2(IEnumerable<Point>)

Converts a run of Tekla points into a 2D chain (discarding Z coordinates).

public static GeoPolyline2 ToGeoPolyline2(this IEnumerable<Point> points)

Parameters

points IEnumerable<Point>

The run of Tekla points to convert.

Returns

GeoPolyline2

The converted GeoPolyline2.

Exceptions

ArgumentNullException

Thrown when points is null.

ArgumentException

Thrown when fewer than two distinct points remain.