Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
toxi.geom.Rect

Packages that use Rect
toxi.geom |

Uses of Rect in toxi.geom

Subclasses of Rect in toxi.geom
`class` | `PointQuadtree` Implements a spatial subdivision tree to work efficiently with large numbers of 2D particles.

Methods in toxi.geom that return Rect
`Rect` | `Rect.copy()` Creates a copy of this rectangle
`static Rect` | `Rect.fromCenterExtent(ReadonlyVec2D center, Vec2D extent)` Factory method, constructs a new rectangle from a center point and extent vector.
`Rect` | `Triangle2D.getBounds()`
`Rect` | `SutherlandHodgemanClipper.getBounds()`
`Rect` | `Rect.scale(float s)`
`Rect` | `Rect.set(float x, float y, float w, float h)` Sets new bounds for this rectangle.
`Rect` | `Rect.set(Rect r)`
`Rect` | `Rect.setDimension(Vec2D dim)`
`Rect` | `Rect.setPosition(Vec2D pos)`
`Rect` | `Rect.union(Rect r)` Updates the bounds of this rectangle by forming an union with the given rect.

Methods in toxi.geom with parameters of type Rect
`Vec2D` | `Vec2D.constrain(Rect r)` Forcefully fits the vector in the given rectangle.
`Vec2D` | `Vec2D.getConstrained(Rect r)`
`Vec2D` | `ReadonlyVec2D.getConstrained(Rect r)` Creates a copy of the vector which forcefully fits in the given rectangle.
`java.util.ArrayList<Vec2D>` | `PointQuadtree.getPointsWithinRect(Rect r)` Selects all stored points within the given axis-aligned bounding box.
`boolean` | `Rect.intersectsRect(Rect r)` Checks if this rectangle intersects/overlaps the given one.
`boolean` | `Vec2D.isInRectangle(Rect r)`
`boolean` | `ReadonlyVec2D.isInRectangle(Rect r)` Checks if the point is inside the given rectangle.
`Rect` | `Rect.set(Rect r)`
`void` | `SutherlandHodgemanClipper.setBounds(Rect bounds)`
`Rect` | `Rect.union(Rect r)` Updates the bounds of this rectangle by forming an union with the given rect.

Constructors in toxi.geom with parameters of type Rect
`SutherlandHodgemanClipper(Rect bounds)`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES