68 explicit B2DVector(const ::basegfx::B2IVector& rVec)
161 double angle(
const B2DVector& rVec )
const;
170 static const B2DVector& getEmptyVector();
#define BASEGFX_DLLPUBLIC
Base class for all Points/Vectors with two double values.
Base Point class with two double values.
B2DVector & operator=(Tuple2D< double > const &rVector)
assignment operator to allow assigning the results of B2DTuple calculations
double scalar(const B2DVector &rVec) const
Calculate the Scalar with another 2D Vector.
double cross(const B2DVector &rVec) const
Calculate the length of the cross product with another 2D Vector.
B2DVector(double fX, double fY)
Create a 2D Vector.
B2DVector & operator*=(const B2DVector &rPnt)
*=operator to allow usage from B2DVector, too
B2DVector(Tuple2D< double > const &rTuple)
constructor with tuple to allow copy-constructing from B2DTuple-based classes
B2DVector & operator*=(double t)
*=operator to allow usage from B2DVector, too
B2DVector()
Create a 2D Vector.
B2DVector(const ::basegfx::B2IVector &rVec)
Create a copy of a 2D Vector.
TYPE getX() const
Get X-Coordinate of 2D Tuple.
TYPE getY() const
Get Y-Coordinate of 2D Tuple.
double getLength(const B2DPolygon &rCandidate)
get length of polygon
B2VectorContinuity
Descriptor for the mathematical continuity of two 2D Vectors.
bool areParallel(const B2DVector &rVecA, const B2DVector &rVecB)
Test two vectors which need not to be normalized for parallelism.
B2VectorOrientation getOrientation(const B2DVector &rVecA, const B2DVector &rVecB)
Calculate the orientation to another 2D Vector.
B2VectorOrientation
Descriptor for the mathematical orientations of two 2D Vectors.
B2DVector getNormalizedPerpendicular(const B2DVector &rVec)
Calculate a perpendicular 2D Vector to the given one, normalize the given one as preparation.
B2VectorContinuity getContinuity(const B2DVector &rBackVector, const B2DVector &rForwardVector)
Test continuity between given vectors.
B2DVector getPerpendicular(const B2DVector &rNormalizedVec)
Calculate a perpendicular 2D Vector to the given one.
B2DPoint operator*(const ::basegfx::B2DHomMatrix &rMat, const B2DPoint &rPoint)
bool normalize(sal_uInt16 &rDay, sal_uInt16 &rMonth, sal_Int16 &rYear)
SmFace & operator*=(SmFace &rFace, const Fraction &rFrac)