Method

IpuzGridget_cell

Declaration [src]

IpuzCell*
ipuz_grid_get_cell (
  IpuzGrid* self,
  const IpuzCellCoord* coord
)

Description [src]

Retrieves the cell at coord. If the coordinates are outside the bounds of the grid then NULL will be returned.

The coordinate system of the self is similar to that of a spreadsheet. The origin is the upper left corner. Row’s increase vertically downward, and columns increase horizontally.

Parameters

coord

Type: IpuzCellCoord

Coordinates for the cell.

The data is owned by the caller of the method.

Return value

Type: IpuzCell

The cell at coord.

The data is owned by the instance.
The return value can be NULL.