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
xlineXlineThe AutoCAD Xline to convert.
Returns
Remarks
An Xline through (100, 200, 0) along X is the line through (100, 200, 0) along (1, 0, 0).
Exceptions
- ArgumentNullException
Thrown when
xlineis 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
xlinesIEnumerable<Xline>The sequence of AutoCAD Xlines to convert.