CadBoundsTable
from OpenCAD2D import CadBoundsTable
class CadBoundsTable(System.Object) ยท CadBoundsTable in the .NET reference
The boxes of the entities of a space as they are drawn (CadSpatial.Bounds): 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.
Properties and fields
Boxes
@property
def Boxes(self) -> System.Array[float]
Gets the boxes, four numbers a row in the order of CadBoundsTable.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
@property
def Count(self) -> int
Gets the number of rows.
Handles
@property
def Handles(self) -> System.Array[str]
Gets the handle of each row. The array is the table's own: read it, do not change it.
Methods
BoxOf
def BoxOf(self, row: int) -> DisplayBox
Gets the box of a row.