ETL
0.04.19
|
#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 |
======================================================================== Extended Template Library Rectangle Basic Class Implementation $Id$
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.
typedef T rect< T >::value_type |
|
inline |
Definition at line 57 of file _rect.h.
References rect< T >::set_point().
|
inline |
Definition at line 62 of file _rect.h.
References rect< T >::expand(), and rect< T >::set_point().
|
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().
|
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().
|
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().
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().