Table of Contents

Method CrossingPolygon

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

CrossingPolygon(IReadOnlyList<GeoPoint2>)

Gets the entities a polygon touches, as AutoCAD's CPolygon takes them, and a lasso drawn counter-clockwise: those an item of which lies inside it or crosses its edges, and a fill it lies inside.

public IReadOnlyList<string> CrossingPolygon(IReadOnlyList<GeoPoint2> ring)

Parameters

ring IReadOnlyList<GeoPoint2>

The corners of the polygon, closed back to the first.

Returns

IReadOnlyList<string>

The handles, in ordinal order.

Exceptions

ArgumentNullException

Thrown when the corners are null.