## Uses of Class
org.cpsolver.ifs.example.rpp.Rectangle

- Packages that use Rectangle
  Package | Description
  --- | ---
  org.cpsolver.ifs.example.rpp | Random Placement Problem.

- - ### Uses of Rectangle in org.cpsolver.ifs.example.rpp

    Methods in org.cpsolver.ifs.example.rpp that return Rectangle
    Modifier and Type | Method and Description
    --- | ---
    `Rectangle` | ResourceConstraint.Context.`getRectangle(int x, int y)`
    `Rectangle` | RPPModel.`getRectangle(String name)` Returns rectangle of the given name

    Method parameters in org.cpsolver.ifs.example.rpp with type arguments of type Rectangle
    Modifier and Type | Method and Description
    --- | ---
    `void` | ResourceConstraint.Context.`assigned(Assignment<Rectangle,Location> assignment, Location placement)` Notification, when a rectangle is placed.
    `void` | ResourceConstraint.`check(Assignment<Rectangle,Location> assignment)`
    `void` | ResourceConstraint.`computeConflicts(Assignment<Rectangle,Location> assignment, Location placement, Set<Location> conflicts)` Compute conflicts with the given placement of the rectangle.
    `ResourceConstraint.Context` | ResourceConstraint.`createAssignmentContext(Assignment<Rectangle,Location> assignment)`
    `boolean` | ResourceConstraint.`inConflict(Assignment<Rectangle,Location> assignment, Location placement)` Returns true if there is a rectangle which overlaps with the given assignment.
    `void` | ResourceConstraint.Context.`unassigned(Assignment<Rectangle,Location> assignment, Location placement)` Notification, when a rectangle is unplaced.

    Constructors in org.cpsolver.ifs.example.rpp with parameters of type Rectangle
    Constructor and Description
    `Location(Rectangle rectangle, int x, int y)` Constructor

    Constructor parameters in org.cpsolver.ifs.example.rpp with type arguments of type Rectangle
    Constructor and Description
    `Context(Assignment<Rectangle,Location> assignment)`