summaryrefslogtreecommitdiff
path: root/basegfx/source/polygon/b2dpolypolygontools.cxx
diff options
context:
space:
mode:
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;