From 19a69efa6fb9557ef07e9c80533f32cd7e669d12 Mon Sep 17 00:00:00 2001 From: Ivo Hinkelmann Date: Tue, 14 Nov 2006 13:05:01 +0000 Subject: 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 --- basegfx/inc/basegfx/point/b3dpoint.hxx | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'basegfx/inc/basegfx/point') 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 */ -- cgit v1.2.3