summaryrefslogtreecommitdiff
path: root/basegfx/inc/basegfx/vector/b3dvector.hxx
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2008-10-17 08:40:10 +0000
committerOliver Bolte <obo@openoffice.org>2008-10-17 08:40:10 +0000
commit98c9f4f4f2506db7385cc3f0fa7bb1b14930a417 (patch)
treee6881eda00d35e22f6ac51732df02db300814385 /basegfx/inc/basegfx/vector/b3dvector.hxx
parent52a7bbb9c5d88ee817b4e484696846adbc7b305e (diff)
CWS-TOOLING: integrate CWS aw057
Diffstat (limited to 'basegfx/inc/basegfx/vector/b3dvector.hxx')
-rw-r--r--basegfx/inc/basegfx/vector/b3dvector.hxx16
1 files changed, 15 insertions, 1 deletions
diff --git a/basegfx/inc/basegfx/vector/b3dvector.hxx b/basegfx/inc/basegfx/vector/b3dvector.hxx
index f5e2c68b98a7..e39500a15cd7 100644
--- a/basegfx/inc/basegfx/vector/b3dvector.hxx
+++ b/basegfx/inc/basegfx/vector/b3dvector.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: b3dvector.hxx,v $
- * $Revision: 1.12 $
+ * $Revision: 1.12.4.1 $
*
* This file is part of OpenOffice.org.
*
@@ -296,6 +296,20 @@ namespace basegfx
return aPerpendicular;
}
+ /** Test two vectors which need not to be normalized for parallelism
+
+ @param rVecA
+ The first 3D Vector
+
+ @param rVecB
+ The second 3D Vector
+
+ @return
+ bool if the two values are parallel. Also true if
+ one of the vectors is empty.
+ */
+ bool areParallel( const B3DVector& rVecA, const B3DVector& rVecB );
+
/** Transform vector by given transformation matrix.
Since this is a vector, translational components of the