Method

IpuzBarredcalculate_side_toggle

Declaration [src]

IpuzStyleSides
ipuz_barred_calculate_side_toggle (
  IpuzBarred* self,
  const IpuzCellCoord* coord,
  IpuzStyleSides side,
  IpuzSymmetry symmetry
)

Description [src]

Calculate the side of a cell after toggling one of its sides while taking symmetry into account. For most of the cells on the board this just toggles the side requested, but the center lines and center square need to be handled separately.

Parameters

coord

Type: IpuzCellCoord

The cell to be toggled.

The data is owned by the caller of the method.
side

Type: IpuzStyleSides

The side to be toggled. Must not be a bitfield.

symmetry

Type: IpuzSymmetry

The symmetry to respect.

Return value

Type: IpuzStyleSides

No description available.