Table of Contents

Method TryHit

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

TryHit(DxfTable, GeoPoint2, out int, out int)

Gets the cell of a table a point of the plan falls in, seen from above; false where it falls in none.

public static bool TryHit(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

Whether it falls in a cell.