diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-10-31 12:40:53 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-10-31 15:56:13 +0000 |
commit | 9069e26d1fe1fbbe7bceab0bae8a186d8cdb47cc (patch) | |
tree | 56cf998775179e658daa71eb9112542992dd4921 /include | |
parent | 5d8f48c81eac8650315b936d0e89ad1d54b566fc (diff) |
we need these old equal methods again
i.e. revert 5c3615c1152eabfda508504c8a4c5727868acbc8
Change-Id: I7bafaabaf5b8337c3ef4fe0d9ea687924045114e
Diffstat (limited to 'include')
-rw-r--r-- | include/basegfx/polygon/b2dpolygontools.hxx | 4 | ||||
-rw-r--r-- | include/basegfx/polygon/b3dpolygontools.hxx | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/include/basegfx/polygon/b2dpolygontools.hxx b/include/basegfx/polygon/b2dpolygontools.hxx index d00ed1ea8460..6aa96927edd7 100644 --- a/include/basegfx/polygon/b2dpolygontools.hxx +++ b/include/basegfx/polygon/b2dpolygontools.hxx @@ -420,6 +420,10 @@ namespace basegfx */ BASEGFX_DLLPUBLIC B2DPolygon createWaveline(const B2DPolygon& rCandidate, double fWaveWidth, double fWaveHeight); + ////////////////////////////////////////////////////////////////////// + // comparators with tolerance for 2D Polygons + BASEGFX_DLLPUBLIC bool equal(const B2DPolygon& rCandidateA, const B2DPolygon& rCandidateB, const double& rfSmallValue); + /** snap some polygon coordinates to discrete coordinates This method allows to snap some polygon points to discrete (integer) values diff --git a/include/basegfx/polygon/b3dpolygontools.hxx b/include/basegfx/polygon/b3dpolygontools.hxx index 45695d4fded7..8bd610394b2f 100644 --- a/include/basegfx/polygon/b3dpolygontools.hxx +++ b/include/basegfx/polygon/b3dpolygontools.hxx @@ -113,6 +113,10 @@ namespace basegfx // and a line given by start and end point BASEGFX_DLLPUBLIC bool getCutBetweenLineAndPlane(const B3DVector& rPlaneNormal, const B3DPoint& rPlanePoint, const B3DPoint& rEdgeStart, const B3DPoint& rEdgeEnd, double& fCut); + ////////////////////////////////////////////////////////////////////// + // comparators with tolerance for 3D Polygons + BASEGFX_DLLPUBLIC bool equal(const B3DPolygon& rCandidateA, const B3DPolygon& rCandidateB, const double& rfSmallValue); + /** snap some polygon coordinates to discrete coordinates This method allows to snap some polygon points to discrete (integer) values |