#include <ixlib_geometry.hh>
Public Methods | |
| rectangle () | |
| rectangle (T ax, T ay, T bx, T by) | |
| rectangle (coord_vector< T > const &a, coord_vector< T > const &b) | |
| template<class TP> | rectangle (rectangle< TP > const &src) |
| template<class TP> rectangle& | operator= (rectangle< TP > const &src) |
| T | getWidth () const |
| T | getHeight () const |
| T | getArea () const |
| bool | doesContain (T x, T y) const |
| bool | doesContain (coord_vector< T > const &point) const |
| bool | doesIntersect (rectangle< T > const &rect) const |
| bool | isEmpty () const |
| void | clear () |
| void | set (T ax, T ay, T bx, T by) |
| template<class TP> void | set (coord_vector< TP > const &a, coord_vector< TP > const &b) |
| void | setSize (T sizex, T sizey) |
| template<class TP> void | setSize (coord_vector< TP > const &p) |
| void | resize (T dx, T dy) |
| template<class TP> void | resize (coord_vector< TP > const &p) |
| void | move (T dx, T dy) |
| template<class TP> void | move (coord_vector< TP > const &p) |
| void | unite (rectangle const &rect) |
| void | intersect (rectangle const &rect) |
| template<class TP> rectangle& | operator+= (coord_vector< TP > const &p) |
| template<class TP> rectangle | operator+ (coord_vector< TP > const &p) |
| template<class TP> rectangle& | operator-= (coord_vector< TP > const &p) |
| template<class TP> rectangle | operator- (coord_vector< TP > const &p) |
| T | getSizeX () const |
| T | getSizeY () const |
Public Attributes | |
| coord_vector<T> | A |
| coord_vector<T> | B |
|
||||
|
Definition at line 193 of file ixlib_geometry.hh. |
|
||||||||||
|
Definition at line 195 of file ixlib_geometry.hh. |
|
||||||
|
Definition at line 198 of file ixlib_geometry.hh. |
|
||||||
|
Definition at line 202 of file ixlib_geometry.hh. |
|
||||
|
Definition at line 236 of file ixlib_geometry.hh. |
|
||||
|
Definition at line 225 of file ixlib_geometry.hh. |
|
||||||
|
Definition at line 222 of file ixlib_geometry.hh. |
|
||||
|
Definition at line 229 of file ixlib_geometry.hh. |
|
||||
|
Definition at line 219 of file ixlib_geometry.hh. |
|
||||
|
Definition at line 216 of file ixlib_geometry.hh. Referenced by getArea(). |
|
||||
|
Definition at line 301 of file ixlib_geometry.hh. |
|
||||
|
Definition at line 303 of file ixlib_geometry.hh. |
|
||||
|
Definition at line 213 of file ixlib_geometry.hh. Referenced by getArea(). |
|
||||
|
|
|
||||
|
Definition at line 233 of file ixlib_geometry.hh. |
|
||||||
|
Definition at line 270 of file ixlib_geometry.hh. |
|
||||||
|
Definition at line 265 of file ixlib_geometry.hh. Referenced by operator+=(), and operator-=(). |
|
||||||
|
Definition at line 283 of file ixlib_geometry.hh. |
|
||||||
|
Definition at line 278 of file ixlib_geometry.hh. |
|
||||||
|
Definition at line 294 of file ixlib_geometry.hh. |
|
||||||
|
Definition at line 289 of file ixlib_geometry.hh. |
|
||||||
|
Definition at line 207 of file ixlib_geometry.hh. |
|
||||||
|
Definition at line 261 of file ixlib_geometry.hh. |
|
||||||
|
Definition at line 257 of file ixlib_geometry.hh. |
|
||||||||
|
Definition at line 245 of file ixlib_geometry.hh. |
|
||||||||||
|
Definition at line 240 of file ixlib_geometry.hh. |
|
||||||
|
Definition at line 253 of file ixlib_geometry.hh. |
|
||||||
|
Definition at line 249 of file ixlib_geometry.hh. |
|
||||
|
|
|
|||
|
Definition at line 191 of file ixlib_geometry.hh. |
|
|||
|
Definition at line 191 of file ixlib_geometry.hh. |
1.2.6 written by Dimitri van Heesch,
© 1997-2001