Table of Contents

CadOverlapTable

from OpenCAD2D import CadOverlapTable

class CadOverlapTable(System.Object) ยท CadOverlapTable in the .NET reference

The pairs of entities that overlap (CadSpatial.Overlaps): the handle of the one that is words, the handle of the other and the box of what they have in common, kept as three arrays. A pair is one row however many of the parts of the two meet; its box holds all the places they do.

Properties and fields

Boxes

.NET

@property
def Boxes(self) -> System.Array[float]

Gets the boxes of the common parts, four numbers a row: the least X, the least Y, the greatest X and the greatest Y. A word frame from (0, 0) to (20, 2.5) that a line from (5, -10) to (5, 10) crosses has the box from (5, 0.001) to (5, 2.499) for it at a tolerance of 0.001. The array is the table's own: read it, do not change it.

Count

.NET

@property
def Count(self) -> int

Gets the number of rows.

Others

.NET

@property
def Others(self) -> System.Array[str]

Gets the handle of the entity the words meet, a row at a time. The array is the table's own: read it, do not change it.

Words

.NET

@property
def Words(self) -> System.Array[str]

Gets the handle of the entity whose words meet the other, a row at a time. Where two entities of words meet each other the one drawn first is named here. The array is the table's own: read it, do not change it.

Methods

BoxOf

.NET

def BoxOf(self, row: int) -> DisplayBox

Gets the box of the common part of a row.