83 maRangeX.getMinimum(),
92 maRangeX.getMaximum(),
110 maRangeX.getCenter(),
161 std::vector<B2DRange>& o_rResult,
166 template<
typename charT,
typename traits>
167 inline std::basic_ostream<charT, traits>&
operator<<(
168 std::basic_ostream<charT, traits>& stream,
const B2DRange& range)
#define BASEGFX_DLLPUBLIC
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.
B2DRange(const Tuple2D< ValueType > &rTuple1, const Tuple2D< ValueType > &rTuple2)
Create proper interval between the two given points.
B2DRange(const Tuple2D< ValueType > &rTuple)
Create degenerate interval consisting of a single point.
B2DVector getRange() const
return difference between upper and lower point. returns (0,0) for empty sets.
B2DPoint getCenter() const
return center point of set. returns (0,0) for empty sets.
B2DRange(ValueType x1, ValueType y1, ValueType x2, ValueType y2)
B2DPoint getMinimum() const
get lower bound of the set. returns arbitrary values for empty sets.
Base Point class with two double values.
A two-dimensional interval over integers.
TYPE getWidth() const
return difference between upper and lower X value. returns 0 for empty sets.
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)
B2IRange fround(const B2DRange &rRange)
Round double to nearest integer for 2D range.
std::vector< B2IRange > & computeSetDifference(std::vector< B2IRange > &o_rResult, const B2IRange &rFirst, const B2IRange &rSecond)
Compute the set difference of the two given ranges.
B2DPoint operator*(const ::basegfx::B2DHomMatrix &rMat, const B2DPoint &rPoint)
SmFace & operator*=(SmFace &rFace, const Fraction &rFrac)