From 29ee57b7da00ce1844141a7ed246a314c99061d4 Mon Sep 17 00:00:00 2001 From: Pascal Junck Date: Wed, 3 Nov 2004 07:39:47 +0000 Subject: INTEGRATION: CWS aw019 (1.5.14); FILE MERGED 2004/10/06 11:14:29 aw 1.5.14.1: #i34831# --- basegfx/source/tuple/b3dtuple.cxx | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) (limited to 'basegfx/source/tuple') diff --git a/basegfx/source/tuple/b3dtuple.cxx b/basegfx/source/tuple/b3dtuple.cxx index 1b91211b68ca..1131e9cf9471 100644 --- a/basegfx/source/tuple/b3dtuple.cxx +++ b/basegfx/source/tuple/b3dtuple.cxx @@ -2,9 +2,9 @@ * * $RCSfile: b3dtuple.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: hjs $ $Date: 2004-06-25 17:19:14 $ + * last change: $Author: pjunck $ $Date: 2004-11-03 08:39:47 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -68,8 +68,23 @@ namespace { struct EmptyTuple : public rtl::Static {}; } +#ifndef _BGFX_TUPLE_B3ITUPLE_HXX +#include +#endif + namespace basegfx { + B3DTuple::B3DTuple(const B3ITuple& rTup) + : mfX( rTup.getX() ), + mfY( rTup.getY() ), + mfZ( rTup.getZ() ) + {} + + B3ITuple fround(const B3DTuple& rTup) + { + return B3ITuple(fround(rTup.getX()), fround(rTup.getY()), fround(rTup.getZ())); + } + static const B3DTuple& getEmptyTuple() { return EmptyTuple::get(); -- cgit