[ library(gfd) | Reference Manual | Alphabetic Index ]

# struct rect(x, y, w, h, b)

Specification for rectangles used in disjoint2 and disjoint2_optional constraints.

## Fields

x
  the x co-ordinate of the left-side of the rectangle
y
  the y co-ordinate of the bottom-side of the rectangle
w
  the width of the rectangle
h
  the height of the rectangle
b
  boolean specifying if rectangle is placed (1=placed)

## Description

This structure is used for specify the rectangles used in disjoint2 and disjoint2_optional constraints. These rectangles are placed on a grid.