diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2008-04-24 14:08:21 +0000 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2008-04-24 14:08:21 +0000 |
commit | e15c847f0cde6667773ca6d3fb1d4971fefdd976 (patch) | |
tree | 9cc2519b392f97359caf1448437975161764ee69 /basegfx/source/tuple/b2dtuple.cxx | |
parent | 7ec32580a19c43c4265384924ac00e4f3c814f9b (diff) |
INTEGRATION: CWS aw055 (1.12.30); FILE MERGED
2008/02/29 04:32:01 aw 1.12.30.1: removed op equal at polygons, added to tooling. Done for 2D and 3D
Diffstat (limited to 'basegfx/source/tuple/b2dtuple.cxx')
-rw-r--r-- | basegfx/source/tuple/b2dtuple.cxx | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/basegfx/source/tuple/b2dtuple.cxx b/basegfx/source/tuple/b2dtuple.cxx index 1a7e4efcd095..eae67f5e9244 100644 --- a/basegfx/source/tuple/b2dtuple.cxx +++ b/basegfx/source/tuple/b2dtuple.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: b2dtuple.cxx,v $ - * $Revision: 1.13 $ + * $Revision: 1.14 $ * * This file is part of OpenOffice.org. * @@ -49,25 +49,6 @@ namespace basegfx mfY( rTup.getY() ) {} - bool B2DTuple::equalZero() const - { - return (this == &getEmptyTuple() || - (::basegfx::fTools::equalZero(mfX) && ::basegfx::fTools::equalZero(mfY))); - } - - bool B2DTuple::equalZero(const double& rfSmallValue) const - { - return (this == &getEmptyTuple() || - (::basegfx::fTools::equalZero(mfX, rfSmallValue) && ::basegfx::fTools::equalZero(mfY, rfSmallValue))); - } - - bool B2DTuple::equal(const B2DTuple& rTup) const - { - return ( - ::basegfx::fTools::equal(mfX, rTup.mfX) && - ::basegfx::fTools::equal(mfY, rTup.mfY)); - } - void B2DTuple::correctValues(const double fCompareValue) { if(0.0 == fCompareValue) |