summaryrefslogtreecommitdiff
path: root/basegfx/source/tuple
diff options
context:
space:
mode:
authorPascal Junck <pjunck@openoffice.org>2004-11-03 07:39:47 +0000
committerPascal Junck <pjunck@openoffice.org>2004-11-03 07:39:47 +0000
commit29ee57b7da00ce1844141a7ed246a314c99061d4 (patch)
tree4650ac0329b70b7c79ecd468b68a4f1152935d25 /basegfx/source/tuple
parent8b1dd821cd4c478e90bf595f63d9704cf748a1f9 (diff)
INTEGRATION: CWS aw019 (1.5.14); FILE MERGED
2004/10/06 11:14:29 aw 1.5.14.1: #i34831#
Diffstat (limited to 'basegfx/source/tuple')
-rw-r--r--basegfx/source/tuple/b3dtuple.cxx19
1 files changed, 17 insertions, 2 deletions
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<basegfx::B3DTuple, EmptyTuple> {}; }
+#ifndef _BGFX_TUPLE_B3ITUPLE_HXX
+#include <basegfx/tuple/b3ituple.hxx>
+#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();