summaryrefslogtreecommitdiff
path: root/basegfx/source/polygon/b2dpolypolygontools.cxx
diff options
context:
space:
mode:
authorGábor Stefanik <netrolller.3d@gmail.com>2012-04-14 01:10:24 +0200
committerMiklos Vajna <vmiklos@suse.cz>2012-04-14 12:18:48 +0200
commit7a9738f407c916d56090e9805632a5b29f96df18 (patch)
treecb8d6a06d36123b5ee62ec8a6666e96f5cfde58a /basegfx/source/polygon/b2dpolypolygontools.cxx
parentd8ff1a579ff5ac9250aa052ef1a17fce51959cb0 (diff)
Clean up basegfx's polygon tools code
Diffstat (limited to 'basegfx/source/polygon/b2dpolypolygontools.cxx')
-rw-r--r--basegfx/source/polygon/b2dpolypolygontools.cxx21
1 files changed, 0 insertions, 21 deletions
diff --git a/basegfx/source/polygon/b2dpolypolygontools.cxx b/basegfx/source/polygon/b2dpolypolygontools.cxx
index 6434dc050075..e071b18b40c3 100644
--- a/basegfx/source/polygon/b2dpolypolygontools.cxx
+++ b/basegfx/source/polygon/b2dpolypolygontools.cxx
@@ -475,27 +475,6 @@ namespace basegfx
}
}
- //////////////////////////////////////////////////////////////////////
- // comparators with tolerance for 2D PolyPolygons
-
- bool equal(const B2DPolyPolygon& rCandidateA, const B2DPolyPolygon& rCandidateB, const double& rfSmallValue)
- {
- const sal_uInt32 nPolygonCount(rCandidateA.count());
-
- if(nPolygonCount != rCandidateB.count())
- return false;
-
- for(sal_uInt32 a(0); a < nPolygonCount; a++)
- {
- const B2DPolygon aCandidate(rCandidateA.getB2DPolygon(a));
-
- if(!equal(aCandidate, rCandidateB.getB2DPolygon(a), rfSmallValue))
- return false;
- }
-
- return true;
- }
-
B2DPolyPolygon snapPointsOfHorizontalOrVerticalEdges(const B2DPolyPolygon& rCandidate)
{
B2DPolyPolygon aRetval;