diff options
author | Gábor Stefanik <netrolller.3d@gmail.com> | 2012-04-14 01:10:24 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@suse.cz> | 2012-04-14 12:18:48 +0200 |
commit | 7a9738f407c916d56090e9805632a5b29f96df18 (patch) | |
tree | cb8d6a06d36123b5ee62ec8a6666e96f5cfde58a /basegfx/inc | |
parent | improve autofill test case (diff) | |
download | core-7a9738f407c916d56090e9805632a5b29f96df18.tar.gz core-7a9738f407c916d56090e9805632a5b29f96df18.zip |
Clean up basegfx's polygon tools code
Diffstat (limited to 'basegfx/inc')
-rw-r--r-- | basegfx/inc/basegfx/polygon/b2dpolypolygontools.hxx | 4 | ||||
-rw-r--r-- | basegfx/inc/basegfx/polygon/b3dpolygontools.hxx | 6 | ||||
-rw-r--r-- | basegfx/inc/basegfx/polygon/b3dpolypolygontools.hxx | 4 |
3 files changed, 0 insertions, 14 deletions
diff --git a/basegfx/inc/basegfx/polygon/b2dpolypolygontools.hxx b/basegfx/inc/basegfx/polygon/b2dpolypolygontools.hxx index 091614ac7ff4..bacc97d216a7 100644 --- a/basegfx/inc/basegfx/polygon/b2dpolypolygontools.hxx +++ b/basegfx/inc/basegfx/polygon/b2dpolypolygontools.hxx @@ -227,10 +227,6 @@ namespace basegfx // #i76891# Try to remove existing curve segments if they are simply edges BASEGFX_DLLPUBLIC B2DPolyPolygon simplifyCurveSegments(const B2DPolyPolygon& rCandidate); - ////////////////////////////////////////////////////////////////////// - // comparators with tolerance for 2D PolyPolygons - BASEGFX_DLLPUBLIC bool equal(const B2DPolyPolygon& rCandidateA, const B2DPolyPolygon& 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/basegfx/inc/basegfx/polygon/b3dpolygontools.hxx b/basegfx/inc/basegfx/polygon/b3dpolygontools.hxx index c94495ed7504..1ff1e6e285e6 100644 --- a/basegfx/inc/basegfx/polygon/b3dpolygontools.hxx +++ b/basegfx/inc/basegfx/polygon/b3dpolygontools.hxx @@ -67,12 +67,6 @@ namespace basegfx // get normal vector of polygon BASEGFX_DLLPUBLIC B3DVector getNormal(const B3DPolygon& rCandidate); - // get signed area of polygon - BASEGFX_DLLPUBLIC double getSignedArea(const B3DPolygon& rCandidate); - - // get signed area of polygon - BASEGFX_DLLPUBLIC double getSignedArea(const B3DPolygon& rCandidate); - // get area of polygon BASEGFX_DLLPUBLIC double getArea(const ::basegfx::B3DPolygon& rCandidate); diff --git a/basegfx/inc/basegfx/polygon/b3dpolypolygontools.hxx b/basegfx/inc/basegfx/polygon/b3dpolypolygontools.hxx index 327ef19b3968..4c3c0b053322 100644 --- a/basegfx/inc/basegfx/polygon/b3dpolypolygontools.hxx +++ b/basegfx/inc/basegfx/polygon/b3dpolypolygontools.hxx @@ -134,10 +134,6 @@ namespace basegfx // in bWithBorder flag. It is assumed that the orientations of the given polygon are correct. BASEGFX_DLLPUBLIC bool isInside(const B3DPolyPolygon& rCandidate, const B3DPoint& rPoint, bool bWithBorder = false); - ////////////////////////////////////////////////////////////////////// - // comparators with tolerance for 3D PolyPolygons - BASEGFX_DLLPUBLIC bool equal(const B3DPolyPolygon& rCandidateA, const B3DPolyPolygon& rCandidateB, const double& rfSmallValue); - } // end of namespace tools } // end of namespace basegfx |