LibreOffice Module basegfx (master) 1
|
#include <basicrange.hxx>
Public Types | |
typedef T | ValueType |
typedef Traits | TraitsType |
Public Member Functions | |
BasicRange () | |
BasicRange (T nValue) | |
void | reset () |
bool | isEmpty () const |
T | getMinimum () const |
T | getMaximum () const |
double | getCenter () const |
bool | isInside (T nValue) const |
bool | isInside (const BasicRange &rRange) const |
bool | overlaps (const BasicRange &rRange) const |
bool | overlapsMore (const BasicRange &rRange) const |
bool | operator== (const BasicRange &rRange) const |
bool | operator!= (const BasicRange &rRange) const |
bool | equal (const BasicRange &rRange) const |
void | expand (T nValue) |
void | expand (const BasicRange &rRange) |
void | intersect (const BasicRange &rRange) |
void | grow (T nValue) |
T | clamp (T nValue) const |
Traits::DifferenceType | getRange () const |
Protected Attributes | |
T | mnMinimum |
T | mnMaximum |
Definition at line 29 of file basicrange.hxx.
typedef Traits basegfx::BasicRange< T, Traits >::TraitsType |
Definition at line 37 of file basicrange.hxx.
typedef T basegfx::BasicRange< T, Traits >::ValueType |
Definition at line 36 of file basicrange.hxx.
|
inline |
Definition at line 39 of file basicrange.hxx.
|
inlineexplicit |
Definition at line 45 of file basicrange.hxx.
References nValue.
|
inline |
Definition at line 250 of file basicrange.hxx.
References basegfx::BasicRange< T, Traits >::isEmpty(), basegfx::BasicRange< T, Traits >::mnMaximum, basegfx::BasicRange< T, Traits >::mnMinimum, and nValue.
Referenced by basegfx::B3DRange::clamp(), basegfx::Range2D< TYPE, TRAITS >::clamp(), and basegfx::B1DRange::clamp().
|
inline |
Definition at line 145 of file basicrange.hxx.
References basegfx::fTools::equal(), basegfx::BasicRange< T, Traits >::mnMaximum, and basegfx::BasicRange< T, Traits >::mnMinimum.
Referenced by basegfx::Range2D< TYPE, TRAITS >::equal().
|
inline |
Definition at line 181 of file basicrange.hxx.
References basegfx::BasicRange< T, Traits >::isEmpty(), basegfx::BasicRange< T, Traits >::mnMaximum, and basegfx::BasicRange< T, Traits >::mnMinimum.
|
inline |
Definition at line 152 of file basicrange.hxx.
References basegfx::BasicRange< T, Traits >::isEmpty(), basegfx::BasicRange< T, Traits >::mnMaximum, basegfx::BasicRange< T, Traits >::mnMinimum, and nValue.
Referenced by basegfx::B2DRange::B2DRange(), basegfx::B2IBox::B2IBox(), basegfx::B3DRange::B3DRange(), basegfx::B2IBox::expand(), basegfx::B3DRange::expand(), basegfx::Range2D< TYPE, TRAITS >::expand(), basegfx::B1DRange::expand(), and basegfx::Range2D< TYPE, TRAITS >::Range2D().
|
inline |
Definition at line 65 of file basicrange.hxx.
References basegfx::BasicRange< T, Traits >::isEmpty(), basegfx::BasicRange< T, Traits >::mnMaximum, and basegfx::BasicRange< T, Traits >::mnMinimum.
Referenced by basegfx::B1DRange::getCenter(), basegfx::B3DRange::getCenter(), basegfx::Range2D< TYPE, TRAITS >::getCenterX(), and basegfx::Range2D< TYPE, TRAITS >::getCenterY().
|
inline |
Definition at line 63 of file basicrange.hxx.
References basegfx::BasicRange< T, Traits >::mnMaximum.
Referenced by basegfx::B1DRange::getMaximum(), basegfx::B2IRange::getMaximum(), basegfx::B2IBox::getMaxX(), basegfx::B3DRange::getMaxX(), basegfx::Range2D< TYPE, TRAITS >::getMaxX(), basegfx::B2IBox::getMaxY(), basegfx::B3DRange::getMaxY(), basegfx::Range2D< TYPE, TRAITS >::getMaxY(), and basegfx::B3DRange::getMaxZ().
|
inline |
Definition at line 62 of file basicrange.hxx.
References basegfx::BasicRange< T, Traits >::mnMinimum.
Referenced by basegfx::B1DRange::getMinimum(), basegfx::B2IRange::getMinimum(), basegfx::B2IBox::getMinX(), basegfx::B3DRange::getMinX(), basegfx::Range2D< TYPE, TRAITS >::getMinX(), basegfx::B2IBox::getMinY(), basegfx::B3DRange::getMinY(), basegfx::Range2D< TYPE, TRAITS >::getMinY(), and basegfx::B3DRange::getMinZ().
|
inline |
Definition at line 276 of file basicrange.hxx.
References basegfx::BasicRange< T, Traits >::isEmpty(), basegfx::BasicRange< T, Traits >::mnMaximum, and basegfx::BasicRange< T, Traits >::mnMinimum.
Referenced by basegfx::B3DRange::getDepth(), basegfx::B2IBox::getHeight(), basegfx::B3DRange::getHeight(), basegfx::Range2D< TYPE, TRAITS >::getHeight(), basegfx::B1DRange::getRange(), basegfx::B2IRange::getRange(), basegfx::B3DRange::getRange(), basegfx::B2IBox::getWidth(), basegfx::B3DRange::getWidth(), and basegfx::Range2D< TYPE, TRAITS >::getWidth().
|
inline |
Definition at line 226 of file basicrange.hxx.
References basegfx::BasicRange< T, Traits >::isEmpty(), basegfx::BasicRange< T, Traits >::mnMaximum, basegfx::BasicRange< T, Traits >::mnMinimum, and nValue.
Referenced by basegfx::B3DRange::grow(), and basegfx::Range2D< TYPE, TRAITS >::grow().
|
inline |
Definition at line 205 of file basicrange.hxx.
References basegfx::BasicRange< T, Traits >::mnMaximum, basegfx::BasicRange< T, Traits >::mnMinimum, basegfx::BasicRange< T, Traits >::overlaps(), and basegfx::BasicRange< T, Traits >::reset().
Referenced by basegfx::B1DRange::intersect(), basegfx::B2IBox::intersect(), and basegfx::Range2D< TYPE, TRAITS >::intersect().
|
inline |
Definition at line 57 of file basicrange.hxx.
References basegfx::BasicRange< T, Traits >::mnMinimum.
Referenced by basegfx::BasicRange< T, Traits >::clamp(), basegfx::BasicRange< T, Traits >::expand(), basegfx::BasicRange< T, Traits >::getCenter(), basegfx::BasicRange< T, Traits >::getRange(), basegfx::BasicRange< T, Traits >::grow(), basegfx::B1DRange::isEmpty(), basegfx::B3DRange::isEmpty(), basegfx::Range2D< TYPE, TRAITS >::isEmpty(), basegfx::BasicRange< T, Traits >::isInside(), basegfx::BasicRange< T, Traits >::overlaps(), and basegfx::BasicRange< T, Traits >::overlapsMore().
|
inline |
Definition at line 89 of file basicrange.hxx.
References basegfx::BasicRange< T, Traits >::isEmpty(), basegfx::BasicRange< T, Traits >::mnMaximum, and basegfx::BasicRange< T, Traits >::mnMinimum.
|
inline |
Definition at line 77 of file basicrange.hxx.
References basegfx::BasicRange< T, Traits >::isEmpty(), basegfx::BasicRange< T, Traits >::mnMaximum, basegfx::BasicRange< T, Traits >::mnMinimum, and nValue.
Referenced by basegfx::Range2D< TYPE, TRAITS >::isInside(), and basegfx::B1DRange::isInside().
|
inline |
Definition at line 140 of file basicrange.hxx.
References basegfx::BasicRange< T, Traits >::mnMaximum, and basegfx::BasicRange< T, Traits >::mnMinimum.
|
inline |
Definition at line 135 of file basicrange.hxx.
References basegfx::BasicRange< T, Traits >::mnMaximum, and basegfx::BasicRange< T, Traits >::mnMinimum.
|
inline |
Definition at line 108 of file basicrange.hxx.
References basegfx::BasicRange< T, Traits >::isEmpty(), basegfx::BasicRange< T, Traits >::mnMaximum, and basegfx::BasicRange< T, Traits >::mnMinimum.
Referenced by basegfx::BasicRange< T, Traits >::intersect(), basegfx::B1DRange::overlaps(), basegfx::B3DRange::overlaps(), and basegfx::Range2D< TYPE, TRAITS >::overlaps().
|
inline |
Definition at line 127 of file basicrange.hxx.
References basegfx::BasicRange< T, Traits >::isEmpty(), basegfx::BasicRange< T, Traits >::mnMaximum, and basegfx::BasicRange< T, Traits >::mnMinimum.
Referenced by basegfx::B1DRange::overlapsMore(), and basegfx::Range2D< TYPE, TRAITS >::overlapsMore().
|
inline |
Definition at line 51 of file basicrange.hxx.
References basegfx::BasicRange< T, Traits >::mnMaximum, and basegfx::BasicRange< T, Traits >::mnMinimum.
Referenced by basegfx::BasicRange< T, Traits >::intersect(), basegfx::B3DRange::reset(), and basegfx::Range2D< TYPE, TRAITS >::reset().
|
protected |
Definition at line 33 of file basicrange.hxx.
Referenced by basegfx::BasicRange< T, Traits >::clamp(), basegfx::BasicRange< T, Traits >::equal(), basegfx::BasicRange< T, Traits >::expand(), basegfx::BasicRange< T, Traits >::getCenter(), basegfx::BasicRange< T, Traits >::getMaximum(), basegfx::BasicRange< T, Traits >::getRange(), basegfx::BasicRange< T, Traits >::grow(), basegfx::BasicRange< T, Traits >::intersect(), basegfx::BasicRange< T, Traits >::isInside(), basegfx::BasicRange< T, Traits >::operator!=(), basegfx::BasicRange< T, Traits >::operator==(), basegfx::BasicRange< T, Traits >::overlaps(), basegfx::BasicRange< T, Traits >::overlapsMore(), and basegfx::BasicRange< T, Traits >::reset().
|
protected |
Definition at line 32 of file basicrange.hxx.
Referenced by basegfx::BasicRange< T, Traits >::clamp(), basegfx::BasicRange< T, Traits >::equal(), basegfx::BasicRange< T, Traits >::expand(), basegfx::BasicRange< T, Traits >::getCenter(), basegfx::BasicRange< T, Traits >::getMinimum(), basegfx::BasicRange< T, Traits >::getRange(), basegfx::BasicRange< T, Traits >::grow(), basegfx::BasicRange< T, Traits >::intersect(), basegfx::BasicRange< T, Traits >::isEmpty(), basegfx::BasicRange< T, Traits >::isInside(), basegfx::BasicRange< T, Traits >::operator!=(), basegfx::BasicRange< T, Traits >::operator==(), basegfx::BasicRange< T, Traits >::overlaps(), basegfx::BasicRange< T, Traits >::overlapsMore(), and basegfx::BasicRange< T, Traits >::reset().