Table of Contents

Class CadFreeSpace

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

The empty rectangles of a frame (FreeSpace(CadDocument, CadSpace, DisplayBox, CadFreeSpaceOptions, Tolerance)): four numbers a row, kept as one array so that a frame with thousands of them is one array and no thousands of objects. A row is a rectangle no line or word of the kinds asked about runs through, which cannot be made larger; the rows are the largest first.

public sealed class CadFreeSpace
Inheritance
CadFreeSpace
Inherited Members

Properties

Boxes

Gets the rectangles, four numbers each: the least X, the least Y, the greatest X and the greatest Y, in the units of the drawing, the largest area first; rectangles of one area by the least Y, then the least X, then the greatest Y, then the greatest X. The array is the table's own: read it, do not change it.

Count

Gets the number of rectangles.

Methods

BoxOf(int)

Gets a rectangle.