diff options
author | Armin Weiss <aw@openoffice.org> | 2003-11-11 08:56:10 +0000 |
---|---|---|
committer | Armin Weiss <aw@openoffice.org> | 2003-11-11 08:56:10 +0000 |
commit | db78936286f5b9adf396e92383041b4f515b0edd (patch) | |
tree | f143d7659bc49e44d5451fe6a89258f137f24d36 /basegfx/inc/basegfx | |
parent | d2e3aaa262de3815c4ba165590ee5e98e5db2ac5 (diff) |
added B2DVector::angle
Diffstat (limited to 'basegfx/inc/basegfx')
-rw-r--r-- | basegfx/inc/basegfx/vector/b2dvector.hxx | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/basegfx/inc/basegfx/vector/b2dvector.hxx b/basegfx/inc/basegfx/vector/b2dvector.hxx index 91f25e436b65..0735d52cd7e0 100644 --- a/basegfx/inc/basegfx/vector/b2dvector.hxx +++ b/basegfx/inc/basegfx/vector/b2dvector.hxx @@ -2,9 +2,9 @@ * * $RCSfile: b2dvector.hxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: aw $ $Date: 2003-11-10 11:45:49 $ + * last change: $Author: aw $ $Date: 2003-11-11 09:56:09 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -200,6 +200,16 @@ namespace basegfx */ double scalar( const B2DVector& 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 B2DVector& rVec ) const; + /** Transform vector by given transformation matrix. Since this is a vector, translational components of the |