Table of Contents

Method CellNear

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

CellNear(DxfTable, GeoPoint2, out int, out int)

Gets the cell of a table nearest a point of the plan: the cell it falls in, or where it falls outside the table, the cell of the last row or column on that side, as a drag across cells holds the range at the table's edge.

public static bool CellNear(DxfTable table, GeoPoint2 point, out int row, out int column)

Parameters

table DxfTable

The table.

point GeoPoint2

The point.

row int

The row, from nought.

column int

The column, from nought.

Returns

bool

False for a table of no cells.