diff options
author | Alexander Bergmann <myaddons@gmx.de> | 2012-01-28 00:22:05 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2012-01-28 00:23:01 +0000 |
commit | 6e4b79042bbb6695eb88ee5d4a8f661932778a50 (patch) | |
tree | f121e34c5b5ac9835ae5b0b344b7ec0c5c8b7cb6 /basegfx/inc | |
parent | svtools: LineListBox: fix handling of "none" style (diff) | |
download | core-6e4b79042bbb6695eb88ee5d4a8f661932778a50.tar.gz core-6e4b79042bbb6695eb88ee5d4a8f661932778a50.zip |
Actually apply substance of previous unused code removal
Diffstat (limited to 'basegfx/inc')
-rw-r--r-- | basegfx/inc/basegfx/tuple/b2ituple.hxx | 7 | ||||
-rw-r--r-- | basegfx/inc/basegfx/vector/b2ivector.hxx | 65 |
2 files changed, 0 insertions, 72 deletions
diff --git a/basegfx/inc/basegfx/tuple/b2ituple.hxx b/basegfx/inc/basegfx/tuple/b2ituple.hxx index f376bb782c59..4072073026a9 100644 --- a/basegfx/inc/basegfx/tuple/b2ituple.hxx +++ b/basegfx/inc/basegfx/tuple/b2ituple.hxx @@ -204,13 +204,6 @@ namespace basegfx ////////////////////////////////////////////////////////////////////////// class B2DTuple; - BASEGFX_DLLPUBLIC B2ITuple minimum(const B2ITuple& rTupA, const B2ITuple& rTupB); - BASEGFX_DLLPUBLIC B2ITuple maximum(const B2ITuple& rTupA, const B2ITuple& rTupB); - BASEGFX_DLLPUBLIC B2ITuple absolute(const B2ITuple& rTup); - BASEGFX_DLLPUBLIC B2DTuple interpolate(const B2ITuple& rOld1, const B2ITuple& rOld2, double t); - BASEGFX_DLLPUBLIC B2DTuple average(const B2ITuple& rOld1, const B2ITuple& rOld2); - BASEGFX_DLLPUBLIC B2DTuple average(const B2ITuple& rOld1, const B2ITuple& rOld2, const B2ITuple& rOld3); - BASEGFX_DLLPUBLIC B2ITuple operator+(const B2ITuple& rTupA, const B2ITuple& rTupB); BASEGFX_DLLPUBLIC B2ITuple operator-(const B2ITuple& rTupA, const B2ITuple& rTupB); BASEGFX_DLLPUBLIC B2ITuple operator/(const B2ITuple& rTupA, const B2ITuple& rTupB); diff --git a/basegfx/inc/basegfx/vector/b2ivector.hxx b/basegfx/inc/basegfx/vector/b2ivector.hxx index 1e3be7810e59..2fcbc540b755 100644 --- a/basegfx/inc/basegfx/vector/b2ivector.hxx +++ b/basegfx/inc/basegfx/vector/b2ivector.hxx @@ -113,12 +113,6 @@ namespace basegfx */ B2IVector& operator=( const ::basegfx::B2ITuple& rVec ); - /** Calculate the length of this 2D Vector - - @return The Length of the 2D Vector - */ - double getLength() const; - /** Set the length of this 2D Vector @param fLen @@ -136,69 +130,17 @@ namespace basegfx */ double scalar( const B2IVector& rVec ) const; - /** Calculate the length of the cross product with another 2D Vector - - In 2D, returning an actual vector does not make much - sense here. The magnitude, although, can be readily - used for tasks such as angle calculations, since for - the returned value, the following equation holds: - retVal = getLength(this)*getLength(rVec)*sin(theta), - with theta being the angle between the two vectors. - - @param rVec - The second 2D Vector - - @return - The length of the cross product of the two involved 2D Vectors - */ - double cross( const B2IVector& rVec ) const; - - /** Calculate the Angle with another 2D Vector - - @param rVec - The second 2D Vector - - @return - The Angle value of the two involved 2D Vectors in -pi/2 < return < pi/2 - */ - double angle( const B2IVector& rVec ) const; - /** Transform vector by given transformation matrix. Since this is a vector, translational components of the matrix are disregarded. */ B2IVector& operator*=( const B2DHomMatrix& rMat ); - - static const B2IVector& getEmptyVector(); }; // external operators ////////////////////////////////////////////////////////////////////////// - /** Calculate the orientation to another 2D Vector - - @param rVecA - The first 2D Vector - - @param rVecB - The second 2D Vector - - @return - The mathematical Orientation of the two involved 2D Vectors - */ - BASEGFX_DLLPUBLIC B2VectorOrientation getOrientation( const B2IVector& rVecA, const B2IVector& rVecB ); - - /** Calculate a perpendicular 2D Vector to the given one - - @param rVec - The source 2D Vector - - @return - A 2D Vector perpendicular to the one given in parameter rVec - */ - BASEGFX_DLLPUBLIC B2IVector getPerpendicular( const B2IVector& rVec ); - /** Test two vectors which need not to be normalized for parallelism @param rVecA @@ -220,13 +162,6 @@ namespace basegfx */ BASEGFX_DLLPUBLIC B2IVector operator*( const B2DHomMatrix& rMat, const B2IVector& rVec ); - /** Test continuity between given vectors. - - The two given vectors are assumed to describe control points on a - common point. Calculate if there is a continuity between them. - */ - BASEGFX_DLLPUBLIC B2VectorContinuity getContinuity( const B2IVector& rBackVector, const B2IVector& rForwardVector ); - } // end of namespace basegfx #endif /* _BGFX_VECTOR_B2IVECTOR_HXX */ |