Table of Contents

Class CadRemoteBounds

Namespace
OpenCAD2D.Remote
Assembly
OpenCAD2D.Remote.dll

The boxes of the entities of a drawing as the app draws them (GetBounds(string)): a handle and four numbers a row, kept as two arrays so that a drawing of 100 000 entities is two arrays and no 100 000 objects. A row is the box of one entity in the order the space is drawn; an entity that draws nothing has none.

public sealed class CadRemoteBounds
Inheritance
CadRemoteBounds
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.

Count

Gets the number of rows.

Handles

Gets the handle of each row.

Methods

BoxOf(int)

Gets the box of a row as its four numbers: the least X, the least Y, the greatest X and the greatest Y.