Table of Contents

Class CadBoundsTable

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

The boxes of the entities of a space as they are drawn (Bounds(CadDocument, CadSpace)): a handle and four numbers a row, kept as two arrays so that a drawing of a million entities is not a million objects and a program that reads it copies two arrays. A row is the box of one entity in the order the space draws them.

public sealed class CadBoundsTable
Inheritance
CadBoundsTable
Inherited Members

Properties

Boxes

Gets the boxes, four numbers a row in the order of Handles: the least X, the least Y, the greatest X and the greatest Y, in the units of the drawing. The array is the table's own: read it, do not change it.

Count

Gets the number of rows.

Handles

Gets the handle of each row. The array is the table's own: read it, do not change it.

Methods

BoxOf(int)

Gets the box of a row.