diff options
author | Armin Weiss <aw@openoffice.org> | 2004-01-16 13:30:10 +0000 |
---|---|---|
committer | Armin Weiss <aw@openoffice.org> | 2004-01-16 13:30:10 +0000 |
commit | 99a300e39ace4f9bd1af8ad85ef49f35f7117fc7 (patch) | |
tree | 9ef5e2b8c9359e42cd27ca82d6614249a9474314 /basegfx/source/vector | |
parent | c794c5ce7ea7b11f7275a471821310dcd3dd552e (diff) |
Added == and != operators to ranges, some other goodies, too. Also changed remaining sal_Bool to bool. Renamed B(2|3)(d|i)box to ...volume.
Diffstat (limited to 'basegfx/source/vector')
-rw-r--r-- | basegfx/source/vector/b2dvector.cxx | 6 | ||||
-rw-r--r-- | basegfx/source/vector/b3dvector.cxx | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/basegfx/source/vector/b2dvector.cxx b/basegfx/source/vector/b2dvector.cxx index ea131f8a4a60..7614de743334 100644 --- a/basegfx/source/vector/b2dvector.cxx +++ b/basegfx/source/vector/b2dvector.cxx @@ -2,9 +2,9 @@ * * $RCSfile: b2dvector.cxx,v $ * - * $Revision: 1.9 $ + * $Revision: 1.10 $ * - * last change: $Author: thb $ $Date: 2004-01-16 10:34:37 $ + * last change: $Author: aw $ $Date: 2004-01-16 14:30:10 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -199,7 +199,7 @@ namespace basegfx return aPerpendicular; } - B2DVector operator*( const B2DHomMatrix& rMat, const B2DVector& rVec ) + B2DVector operator*( const ::basegfx::B2DHomMatrix& rMat, const B2DVector& rVec ) { B2DVector aRes( rVec ); return aRes*=rMat; diff --git a/basegfx/source/vector/b3dvector.cxx b/basegfx/source/vector/b3dvector.cxx index 6e08ea0fffa7..67e960eef676 100644 --- a/basegfx/source/vector/b3dvector.cxx +++ b/basegfx/source/vector/b3dvector.cxx @@ -2,9 +2,9 @@ * * $RCSfile: b3dvector.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: aw $ $Date: 2003-11-28 11:18:16 $ + * last change: $Author: aw $ $Date: 2004-01-16 14:30:10 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -114,7 +114,7 @@ namespace basegfx return aNew; } - B3DVector& B3DVector::operator*=( const B3DHomMatrix& rMat ) + B3DVector& B3DVector::operator*=( const ::basegfx::B3DHomMatrix& rMat ) { const double fTempX( rMat.get(0,0)*mfX + rMat.get(0,1)*mfY + rMat.get(0,2)*mfZ ); const double fTempY( rMat.get(1,0)*mfX + rMat.get(1,1)*mfY + rMat.get(1,2)*mfZ ); @@ -126,7 +126,7 @@ namespace basegfx return *this; } - B3DVector operator*( const B3DHomMatrix& rMat, const B3DVector& rVec ) + B3DVector operator*( const ::basegfx::B3DHomMatrix& rMat, const B3DVector& rVec ) { B3DVector aRes( rVec ); return aRes*=rMat; |