Method

IpuzCellCoordArraycoord_index

Declaration [src]

gint
ipuz_cell_coord_array_coord_index (
  IpuzCellCoordArray* self,
  const IpuzCellCoord* coord
)

Description [src]

Returns the index of coord within self. If the coordinate is not present, then -1 is returned.

Parameters

coord

Type: IpuzCellCoord

A coordinate to determine the index of.

The argument can be NULL.
The data is owned by the caller of the method.

Return value

Type: gint

The index of coord, or -1