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
tableDxfTableThe table.
pointGeoPoint2The point.
rowintThe row, from nought.
columnintThe column, from nought.
Returns
- bool
False for a table of no cells.