#include <_rect.h>
Public Types | |
| typedef T | value_type |
Public Member Functions | |
| rect () | |
| rect (const value_type &x1, const value_type &y1) | |
| rect (const value_type &x1, const value_type &y1, const value_type &x2, const value_type &y2) | |
| rect (const rect< T > &o) | |
| template<typename U> | |
| rect (const rect< U > &o) | |
| void | set_point (const value_type &x1, const value_type &y1) |
| void | expand (const value_type &x1, const value_type &y1) |
| void | set (const value_type &x1, const value_type &y1, const value_type &x2, const value_type &y2) |
| bool | valid () const |
| template<typename F> | |
| bool | valid (const F &func) const |
Public Attributes | |
| value_type | minx |
| value_type | maxx |
| value_type | miny |
| value_type | maxy |
Copyright (c) 2002 Adrian Bentley
This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
=== N O T E S ===========================================================
This is an internal header file, included by other ETL headers. You should not attempt to use it directly.
=========================================================================
Definition at line 44 of file _rect.h.
| typedef T rect< T >::value_type |
| rect< T >::rect | ( | const value_type & | x1, | |
| const value_type & | y1 | |||
| ) | [inline] |
| rect< T >::rect | ( | const value_type & | x1, | |
| const value_type & | y1, | |||
| const value_type & | x2, | |||
| const value_type & | y2 | |||
| ) | [inline] |
| void rect< T >::set_point | ( | const value_type & | x1, | |
| const value_type & | y1 | |||
| ) | [inline] |
Definition at line 78 of file _rect.h.
References rect< T >::maxx, rect< T >::maxy, rect< T >::minx, and rect< T >::miny.
Referenced by rect< T >::rect().
| void rect< T >::expand | ( | const value_type & | x1, | |
| const value_type & | y1 | |||
| ) | [inline] |
Definition at line 84 of file _rect.h.
References rect< T >::maxx, rect< T >::maxy, rect< T >::minx, and rect< T >::miny.
Referenced by rect< T >::rect().
| void rect< T >::set | ( | const value_type & | x1, | |
| const value_type & | y1, | |||
| const value_type & | x2, | |||
| const value_type & | y2 | |||
| ) | [inline] |
Definition at line 92 of file _rect.h.
References rect< T >::maxx, rect< T >::maxy, rect< T >::minx, and rect< T >::miny.
Referenced by set_union().
| bool rect< T >::valid | ( | ) | const [inline] |
Definition at line 106 of file _rect.h.
References rect< T >::maxx, rect< T >::maxy, rect< T >::minx, and rect< T >::miny.
| value_type rect< T >::minx |
Definition at line 51 of file _rect.h.
Referenced by rect< T >::expand(), intersect(), rect< T >::set(), set_intersect(), rect< T >::set_point(), set_union(), and rect< T >::valid().
| value_type rect< T >::maxx |
Definition at line 51 of file _rect.h.
Referenced by rect< T >::expand(), intersect(), rect< T >::set(), set_intersect(), rect< T >::set_point(), set_union(), and rect< T >::valid().
| value_type rect< T >::miny |
Definition at line 51 of file _rect.h.
Referenced by rect< T >::expand(), intersect(), rect< T >::set(), set_intersect(), rect< T >::set_point(), set_union(), and rect< T >::valid().
| value_type rect< T >::maxy |
Definition at line 51 of file _rect.h.
Referenced by rect< T >::expand(), intersect(), rect< T >::set(), set_intersect(), rect< T >::set_point(), set_union(), and rect< T >::valid().
1.5.2