Table of Contents

Class LineSegmentConvert

Namespace
GeometryHelper.CadConvert
Assembly
GeometryHelper.CadConvert.dll

Converts line segments and lines between AutoCAD and GeometryHelper.

public static class LineSegmentConvert
Inheritance
LineSegmentConvert
Inherited Members

Methods

ToAcadLine(GeoLine2)

Converts a GeometryHelper 2D line to a AutoCAD Database Line entity (with Z = 0).

ToAcadLine(IEnumerable<GeoLine2>)

Converts a sequence of GeometryHelper 2D lines to a list of AutoCAD Line entities.

ToGeoLine2(Line)

Converts a AutoCAD Database Line entity to a GeometryHelper 2D line (discarding the Z coordinate).

ToGeoLine2(LineSegment2d)

Converts a AutoCAD 2D line segment to a GeometryHelper 2D line.

ToGeoLine2(LineSegment3d)

Converts a AutoCAD 3D line segment to a GeometryHelper 2D line (discarding the Z coordinate).

ToGeoLine2(IEnumerable<Line>)

Converts a sequence of AutoCAD Line entities to a list of GeometryHelper 2D lines.

ToGeoLine2(IEnumerable<LineSegment2d>)

Converts a sequence of AutoCAD 2D line segments to a list of GeometryHelper 2D lines.

ToGeoLine2(IEnumerable<LineSegment3d>)

Converts a sequence of AutoCAD 3D line segments to a list of GeometryHelper 2D lines (discarding their Z coordinates).