Table of Contents

Method TryCellAt

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

TryCellAt(CadSpace, GeoPoint2, out string, out int, out int)

Gets the table of a space a point of the plan falls in, and its cell, the table appended last first; false where it falls in none.

public static bool TryCellAt(CadSpace space, GeoPoint2 point, out string handle, out int row, out int column)

Parameters

space CadSpace

The space.

point GeoPoint2

The point.

handle string

The table's handle.

row int

The row, from nought.

column int

The column, from nought.

Returns

bool

Whether it falls in a cell.

Exceptions

ArgumentNullException

Thrown when the space is null.