Table of Contents

Method ToGeoXLine3

Namespace
GeometryHelper.CadConvert
Assembly
GeometryHelper.CadConvert.dll

ToGeoXLine3(Xline)

Converts an AutoCAD Xline to a GeometryHelper line without ends in space.

public static GeoXLine3 ToGeoXLine3(this Xline xline)

Parameters

xline Xline

The AutoCAD Xline to convert.

Returns

GeoXLine3

The converted GeoXLine3, through AutoCAD's base point along its unit direction.

Remarks

An Xline through (100, 200, 0) along X is the line through (100, 200, 0) along (1, 0, 0).

Exceptions

ArgumentNullException

Thrown when xline is null.

ArgumentException

Thrown when the Xline has a unit direction of no length.

ToGeoXLine3(IEnumerable<Xline>)

Converts a sequence of AutoCAD Xlines to a list of GeometryHelper lines without ends in space.

public static List<GeoXLine3> ToGeoXLine3(this IEnumerable<Xline> xlines)

Parameters

xlines IEnumerable<Xline>

The sequence of AutoCAD Xlines to convert.

Returns

List<GeoXLine3>

A list of converted GeoXLine3.