Table of Contents

Method ToGeoLine3

Namespace
GeometryHelper.TeklaConvert
Assembly
GeometryHelper.TeklaConvert.dll

ToGeoLine3(LineSegment)

Converts a Tekla line segment to a GeometryHelper line segment.

public static GeoLine3 ToGeoLine3(this LineSegment segment)

Parameters

segment LineSegment

The Tekla line segment to convert.

Returns

GeoLine3

The converted GeoLine3.

Exceptions

ArgumentNullException

Thrown when segment is null.

ToGeoLine3(IEnumerable<LineSegment>)

Converts a sequence of Tekla line segments to a list of GeometryHelper line segments.

public static List<GeoLine3> ToGeoLine3(this IEnumerable<LineSegment> segments)

Parameters

segments IEnumerable<LineSegment>

The sequence of Tekla line segments to convert.

Returns

List<GeoLine3>

A list of converted GeoLine3.