centered_square_region

sitelle.region.centered_square_region(x, y, b)

Computes a square region of size b*b centered on x,y

Parameters:
  • x (int) – abscisse of the center of the square
  • y (int) – rdonate of the center of the square
  • b (int) – size of the square
Returns:

region – The corresponding region

Return type:

tuple