diff options
author | Armin Weiss <aw@openoffice.org> | 2003-11-26 13:40:18 +0000 |
---|---|---|
committer | Armin Weiss <aw@openoffice.org> | 2003-11-26 13:40:18 +0000 |
commit | 56f2ab808ec8b0ce9aed1acd042123b87006ad60 (patch) | |
tree | 647130c86bd40c589a4a555ea24aac497ca7029a /basegfx/inc/basegfx/numeric | |
parent | c4068e1d9c41fb4a08498c6318684226076bc56c (diff) |
Added support for B3DPolyPOlygon, moved BDRange from source/inc to range namespace and the directories
Diffstat (limited to 'basegfx/inc/basegfx/numeric')
-rw-r--r-- | basegfx/inc/basegfx/numeric/ftools.hxx | 32 |
1 files changed, 30 insertions, 2 deletions
diff --git a/basegfx/inc/basegfx/numeric/ftools.hxx b/basegfx/inc/basegfx/numeric/ftools.hxx index 9e657b91179f..4a8287ff164c 100644 --- a/basegfx/inc/basegfx/numeric/ftools.hxx +++ b/basegfx/inc/basegfx/numeric/ftools.hxx @@ -2,9 +2,9 @@ * * $RCSfile: ftools.hxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: aw $ $Date: 2003-11-05 12:25:38 $ + * last change: $Author: aw $ $Date: 2003-11-26 14:39:52 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -70,6 +70,34 @@ #include <math.h> #endif +////////////////////////////////////////////////////////////////////////////// +// standard PI defines from solar.h, but we do not want to link against tools + +#ifndef F_PI +#define F_PI 3.14159265358979323846 +#endif +#ifndef F_PI2 +#define F_PI2 1.57079632679489661923 +#endif +#ifndef F_PI4 +#define F_PI4 0.785398163397448309616 +#endif +#ifndef F_PI180 +#define F_PI180 0.01745329251994 +#endif +#ifndef F_PI1800 +#define F_PI1800 0.001745329251994 +#endif +#ifndef F_PI18000 +#define F_PI18000 0.0001745329251994 +#endif +#ifndef F_2PI +#define F_2PI 6.28318530717958647694 +#endif + +////////////////////////////////////////////////////////////////////////////// +// fTools defines + namespace basegfx { namespace numeric |