#include <lti_geometry.h>
Public Member Functions | |
LTIGeomRect (const LTIGeomPoint< T > &inUL, const LTIGeomPoint< T > &inLR) | |
LTIGeomRect (T ulx=0, T uly=1, T lrx=-1, T lry=0) | |
LTIGeomRect (const LTIGeomDim< T > d) | |
LTIGeomRect (const LTIGeomRect< T, inclusive > ©) | |
LTIGeomRect< T, inclusive > & | operator= (const LTIGeomRect< T, inclusive > ©) |
T | getWidth () const |
T | width () const |
T | getHeight () const |
T | height () const |
bool | isEmpty () const |
LTIGeomDim< T > | getDimensions () const |
LTIGeomPoint< T > | getCenter () const |
LTIGeomPoint< T > | location (LTIPosition referencePoint) |
template<class T2> | |
LTIGeomRect< T, inclusive > & | operator+= (const LTIGeomPoint< T2 > &offset) |
template<class T2> | |
LTIGeomRect< T, inclusive > & | operator-= (const LTIGeomPoint< T2 > &offset) |
LTIGeomRect< T, inclusive > & | operator &= (const LTIGeomRect< T, inclusive > &other) |
LTIGeomRect< T, inclusive > & | operator|= (const LTIGeomRect< T, inclusive > &other) |
bool | operator== (const LTIGeomRect< T, inclusive > &other) const |
bool | operator!= (const LTIGeomRect< T, inclusive > &other) const |
bool | intersect (const LTIGeomRect< T, inclusive > &other) |
Public Attributes | |
LTIGeomPoint< T > | uLeft |
LTIGeomPoint< T > | lRight |
Definition at line 183 of file lti_geometry.h.
LTIGeomRect< T, inclusive >::LTIGeomRect | ( | const LTIGeomPoint< T > & | inUL, | |
const LTIGeomPoint< T > & | inLR | |||
) | [inline] |
Definition at line 189 of file lti_geometry.h.
LTIGeomRect< T, inclusive >::LTIGeomRect | ( | T | ulx = 0 , |
|
T | uly = 1 , |
|||
T | lrx = -1 , |
|||
T | lry = 0 | |||
) | [inline] |
Definition at line 198 of file lti_geometry.h.
LTIGeomRect< T, inclusive >::LTIGeomRect | ( | const LTIGeomDim< T > | d | ) | [inline] |
Definition at line 208 of file lti_geometry.h.
LTIGeomRect< T, inclusive >::LTIGeomRect | ( | const LTIGeomRect< T, inclusive > & | copy | ) | [inline] |
Definition at line 216 of file lti_geometry.h.
LTIGeomRect<T, inclusive>& LTIGeomRect< T, inclusive >::operator= | ( | const LTIGeomRect< T, inclusive > & | copy | ) | [inline] |
Definition at line 224 of file lti_geometry.h.
T LTIGeomRect< T, inclusive >::getWidth | ( | ) | const [inline] |
Definition at line 234 of file lti_geometry.h.
T LTIGeomRect< T, inclusive >::width | ( | ) | const [inline] |
Definition at line 238 of file lti_geometry.h.
T LTIGeomRect< T, inclusive >::getHeight | ( | ) | const [inline] |
Definition at line 243 of file lti_geometry.h.
T LTIGeomRect< T, inclusive >::height | ( | ) | const [inline] |
Definition at line 247 of file lti_geometry.h.
bool LTIGeomRect< T, inclusive >::isEmpty | ( | ) | const [inline] |
Definition at line 252 of file lti_geometry.h.
LTIGeomDim<T> LTIGeomRect< T, inclusive >::getDimensions | ( | ) | const [inline] |
Definition at line 260 of file lti_geometry.h.
LTIGeomPoint<T> LTIGeomRect< T, inclusive >::getCenter | ( | ) | const [inline] |
Definition at line 268 of file lti_geometry.h.
LTIGeomPoint<T> LTIGeomRect< T, inclusive >::location | ( | LTIPosition | referencePoint | ) | [inline] |
Definition at line 280 of file lti_geometry.h.
LTIGeomRect<T, inclusive>& LTIGeomRect< T, inclusive >::operator+= | ( | const LTIGeomPoint< T2 > & | offset | ) | [inline] |
Definition at line 326 of file lti_geometry.h.
LTIGeomRect<T, inclusive>& LTIGeomRect< T, inclusive >::operator-= | ( | const LTIGeomPoint< T2 > & | offset | ) | [inline] |
Definition at line 338 of file lti_geometry.h.
LTIGeomRect<T, inclusive>& LTIGeomRect< T, inclusive >::operator &= | ( | const LTIGeomRect< T, inclusive > & | other | ) | [inline] |
Definition at line 349 of file lti_geometry.h.
LTIGeomRect<T, inclusive>& LTIGeomRect< T, inclusive >::operator|= | ( | const LTIGeomRect< T, inclusive > & | other | ) | [inline] |
Definition at line 360 of file lti_geometry.h.
bool LTIGeomRect< T, inclusive >::operator== | ( | const LTIGeomRect< T, inclusive > & | other | ) | const [inline] |
Definition at line 369 of file lti_geometry.h.
bool LTIGeomRect< T, inclusive >::operator!= | ( | const LTIGeomRect< T, inclusive > & | other | ) | const [inline] |
Definition at line 377 of file lti_geometry.h.
bool LTIGeomRect< T, inclusive >::intersect | ( | const LTIGeomRect< T, inclusive > & | other | ) | [inline] |
Definition at line 384 of file lti_geometry.h.
LTIGeomPoint<T> LTIGeomRect< T, inclusive >::uLeft |
Definition at line 398 of file lti_geometry.h.
LTIGeomPoint<T> LTIGeomRect< T, inclusive >::lRight |
Definition at line 399 of file lti_geometry.h.
LizardTech |