59 static const B2DRange aUnitB2DRange(0.0, 0.0, 1.0, 1.0);
Base Point class with two double values.
A two-dimensional interval over doubles.
B2DPoint getMaximum() const
get upper bound of the set. returns arbitrary values for empty sets.
BASEGFX_DLLPUBLIC B2DRange & operator*=(const ::basegfx::B2DHomMatrix &rMat)
Transform Range by given transformation matrix.
BASEGFX_DLLPUBLIC void transform(const B2DHomMatrix &rMatrix)
Transform Range by given transformation matrix.
static BASEGFX_DLLPUBLIC const B2DRange & getUnitB2DRange()
Get a range filled with (0.0, 0.0, 1.0, 1.0)
B2DPoint getMinimum() const
get lower bound of the set. returns arbitrary values for empty sets.
A two-dimensional interval over integers.
TYPE getMaxX() const
get upper bound of the set. returns arbitrary values for empty sets.
TYPE getMinX() const
get lower bound of the set. returns arbitrary values for empty sets.
basegfx::BasicRange< double, DoubleTraits > maRangeX
TYPE getMinY() const
get lower bound of the set. returns arbitrary values for empty sets.
void expand(const Tuple2D< double > &rTuple)
add point to the set, expanding as necessary
void reset()
reset the object to empty state again, clearing all values
TYPE getMaxY() const
get upper bound of the set. returns arbitrary values for empty sets.
basegfx::BasicRange< double, DoubleTraits > maRangeY
bool isEmpty() const
Check if the interval set is empty.
B2IRange fround(const B2DRange &rRange)
Round double to nearest integer for 2D range.
B2DPoint operator*(const ::basegfx::B2DHomMatrix &rMat, const B2DPoint &rPoint)