GG: GG::Rect Struct Reference

GG

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Attributes | List of all members
GG::Rect Struct Reference

`#include <PtRect.h>`

## Public Attributes
Pt | ul
Pt | lr

## Structors
| Rect ()
| Rect (const Pt &pt1, const Pt &pt2)
| Rect (X x1, Y y1, X x2, Y y2)

## Accessors
X | Left () const
X | Right () const
Y | Top () const
Y | Bottom () const
Pt | UpperLeft () const
Pt | LowerRight () const
X | Width () const
Y | Height () const
bool | Contains (const Pt &pt) const

## Mutators
void | operator+= (const Pt &pt)
void | operator-= (const Pt &pt)

## Detailed Description

A GG rectangle class.

This is essentially just two points that bound the rectangle.

Definition at line 87 of file PtRect.h.

The documentation for this struct was generated from the following file:

- PtRect.h