Method ToAcadLine
- Namespace
- GeometryHelper.CadConvert
- Assembly
- GeometryHelper.CadConvert.dll
ToAcadLine(GeoLine2)
Converts a GeometryHelper 2D line to a AutoCAD Database Line entity (with Z = 0).
public static Line ToAcadLine(this GeoLine2 geoLine)
Parameters
geoLineGeoLine2The GeometryHelper 2D line to convert.
Returns
- Line
The converted AutoCAD Autodesk.AutoCAD.DatabaseServices.Line.
ToAcadLine(IEnumerable<GeoLine2>)
Converts a sequence of GeometryHelper 2D lines to a list of AutoCAD Line entities.
public static List<Line> ToAcadLine(this IEnumerable<GeoLine2> lines)
Parameters
linesIEnumerable<GeoLine2>The sequence of GeometryHelper 2D lines to convert.
Returns
- List<Line>
A list of converted AutoCAD Autodesk.AutoCAD.DatabaseServices.Line.