124 std::vector<B2IRange>& o_rResult,
129 template<
typename charT,
typename traits>
130 inline std::basic_ostream<charT, traits>&
operator<<(
131 std::basic_ostream<charT, traits>& stream,
const B2IRange& range)
#define BASEGFX_DLLPUBLIC
Base class for all Points/Vectors with two sal_Int64 values.
Base Point class with two sal_Int32 values.
A two-dimensional interval over integers.
B2IPoint getMinimum() const
get lower bound of the set. returns arbitrary values for empty sets.
B2IPoint getMaximum() const
get upper bound of the set. returns arbitrary values for empty sets.
B2IRange(ValueType x1, ValueType y1, ValueType x2, ValueType y2)
B2I64Tuple getRange() const
return difference between upper and lower point. returns (0,0) for empty sets.
B2IRange(const Tuple2D< ValueType > &rTuple1, const Tuple2D< ValueType > &rTuple2)
Create proper interval between the two given points.
B2IRange(const Tuple2D< ValueType > &rTuple)
Create degenerate interval consisting of a single point.
Traits::DifferenceType getRange() const
TYPE getWidth() const
return difference between upper and lower X value. returns 0 for empty sets.
basegfx::BasicRange< sal_Int32, Int32Traits > maRangeX
basegfx::BasicRange< sal_Int32, Int32Traits > maRangeY
bool isEmpty() const
Check if the interval set is empty.
TYPE getHeight() const
return difference between upper and lower Y value. returns 0 for empty sets.
Reference< XOutputStream > stream
std::basic_ostream< charT, traits > & operator<<(std::basic_ostream< charT, traits > &stream, BColor const &color)
std::vector< B2IRange > & computeSetDifference(std::vector< B2IRange > &o_rResult, const B2IRange &rFirst, const B2IRange &rSecond)
Compute the set difference of the two given ranges.