Method ToAcadXline
- Namespace
- GeometryHelper.CadConvert
- Assembly
- GeometryHelper.CadConvert.dll
ToAcadXline(GeoXLine3)
Converts a GeometryHelper line without ends in space to an AutoCAD Xline.
public static Xline ToAcadXline(this GeoXLine3 geoXLine)
Parameters
geoXLineGeoXLine3The GeometryHelper line to convert.
Returns
- Xline
The converted AutoCAD Autodesk.AutoCAD.DatabaseServices.Xline, its base point the line's origin and its unit direction the line's.
Exceptions
- ArgumentException
Thrown when the line has no direction, as a
defaultone has, or holds a number that is not finite.
ToAcadXline(IEnumerable<GeoXLine3>)
Converts a sequence of GeometryHelper lines without ends in space to a list of AutoCAD Xlines.
public static List<Xline> ToAcadXline(this IEnumerable<GeoXLine3> xlines)
Parameters
xlinesIEnumerable<GeoXLine3>The sequence of GeometryHelper lines to convert.
Returns
- List<Xline>
A list of converted AutoCAD Autodesk.AutoCAD.DatabaseServices.Xline.