diff options
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 |