diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2006-11-14 13:05:01 +0000 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2006-11-14 13:05:01 +0000 |
commit | 19a69efa6fb9557ef07e9c80533f32cd7e669d12 (patch) | |
tree | 19f28e0a3e4eb9044ba30257a98d47a15321966f /basegfx/inc/basegfx | |
parent | 55cd619c5b713c71dcec945aff8a0b4b0a45376b (diff) |
INTEGRATION: CWS aw024 (1.8.4); FILE MERGED
2006/10/27 12:10:06 aw 1.8.4.1: #i70938# added external operator for matrix3d*point3d
Diffstat (limited to 'basegfx/inc/basegfx')
-rw-r--r-- | basegfx/inc/basegfx/point/b3dpoint.hxx | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/basegfx/inc/basegfx/point/b3dpoint.hxx b/basegfx/inc/basegfx/point/b3dpoint.hxx index fa212aa19c6d..b5228d13ce92 100644 --- a/basegfx/inc/basegfx/point/b3dpoint.hxx +++ b/basegfx/inc/basegfx/point/b3dpoint.hxx @@ -4,9 +4,9 @@ * * $RCSfile: b3dpoint.hxx,v $ * - * $Revision: 1.8 $ + * $Revision: 1.9 $ * - * last change: $Author: rt $ $Date: 2005-09-07 20:26:58 $ + * last change: $Author: ihi $ $Date: 2006-11-14 14:05:01 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -144,6 +144,17 @@ namespace basegfx return (const B3DPoint&) ::basegfx::B3DTuple::getEmptyTuple(); } }; + + // external operators + ////////////////////////////////////////////////////////////////////////// + + /** Transform B3DPoint by given transformation matrix. + + Since this is a Point, translational components of the + matrix are used. + */ + B3DPoint operator*( const B3DHomMatrix& rMat, const B3DPoint& rPoint ); + } // end of namespace basegfx #endif /* _BGFX_POINT_B3DPOINT_HXX */ |