Public Member Functions | |
| cell_range (COORDS topleft, COORDS bottomright) | |
| cell_range (COORDS topleft, unsigned horz_count, unsigned vert_count) | |
| bool | is_intersecting (const cell_range &range) const |
| cell_range | operator+ (const cell_range &range) const |
| void | operator+= (const cell_range &range) |
| bool | operator== (const cell_range &range) const |
| bool | operator!= (const cell_range &range) const |
| COORDS | top_left () const |
| COORDS | bottom_right () const |
| void | move (int horz, int vert) |
| void | horz_count (unsigned count) |
| unsigned | horz_count () const |
| void | vert_count (unsigned count) |
| unsigned | vert_count () const |
|
||||||||||||
|
c'tor
|
|
||||||||||||||||
|
c'tor
|
|
|
Returns the coordinates of the lower right cell in this range.
|
|
|
Returns the horizontal count of cells in this range.
|
|
|
Sets the horizontal count of cells in this range.
|
|
|
Returns true if this range intersects the passed range.
|
|
||||||||||||
|
Moves a range (note: a range can't be negative!).
|
|
|
Compare two ranges.
|
|
|
Merges two ranges.
|
|
|
Merges two ranges.
|
|
|
Compare two ranges.
|
|
|
Returns the coordinates of the upper left cell in this range.
|
|
|
Returns the vertical count of cells in this range.
|
|
|
Sets the vertical count of cells in this range.
|
|
by Steven Weiss. You can contact me at steven11@gmx.de. |