Table of Contents

Class XlineConvert

Namespace
GeometryHelper.CadConvert
Assembly
GeometryHelper.CadConvert.dll

Converts infinite lines, the AutoCAD Xline entities, between AutoCAD and GeometryHelper.

public static class XlineConvert
Inheritance
XlineConvert
Inherited Members

Remarks

An AutoCAD Autodesk.AutoCAD.DatabaseServices.Xline is held as a base point and a unit direction, and runs for ever both ways. A GeoXLine3 holds the same two things, so the reading keeps both; the direction is made unit length again on the way in, so a round trip can differ in the last digit of it. The line is in space: a line in the plane is ProjectToXLine2(GeoCoordinateSystem3) of it.

Methods

ToAcadXline(GeoXLine3)

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

ToAcadXline(IEnumerable<GeoXLine3>)

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

ToGeoXLine3(Xline)

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

ToGeoXLine3(IEnumerable<Xline>)

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