Table of Contents

Method GetHatchLinesData

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

GetHatchLinesData()

Gets every line the pattern draws, as AutoCAD's GetHatchLinesData: in the plane of the HATCH, in the system of its normal, in the order and to the bit of GetHatchLineDataAt(int); none for a solid fill and a gradient. A square 30 by 20 filled with a pattern made by the user of lines at 45 degrees 3.175 apart gives 11 lines, each from one side of the square to another.

public IReadOnlyList<GeoLine2> GetHatchLinesData()

Returns

IReadOnlyList<GeoLine2>

The lines, a list that cannot be changed.

Exceptions

NotSupportedException

Thrown for a pattern the HATCH holds no lines of, as EvaluateHatch(bool) says.

InvalidOperationException

Thrown as EvaluateHatch(bool) says.