45 double fLenNow(
scalar(*
this));
49 const double fOne(1.0);
51 if(!::basegfx::fTools::equal(fOne, fLenNow))
53 fLen /= sqrt(fLenNow);
double get(sal_uInt16 nRow, sal_uInt16 nColumn) const
Base Point class with two sal_Int32 values.
B2IVector & operator=(const ::basegfx::B2ITuple &rVec)
assignment operator to allow assigning the results of B2ITuple calculations
double scalar(const B2IVector &rVec) const
Calculate the Scalar with another 2D Vector.
B2IVector & operator*=(const B2IVector &rPnt)
*=operator to allow usage from B2IVector, too
B2IVector & setLength(double fLen)
Set the length of this 2D Vector.
B2IRange fround(const B2DRange &rRange)
Round double to nearest integer for 2D range.