summaryrefslogtreecommitdiffstats
path: root/src/2geom/coord.h
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2007-11-12 19:47:07 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2007-11-12 19:47:07 +0000
commitbd91c05befcd0db146a9f8ae604e6b7a2efdbe78 (patch)
tree23e7c6c7a1deb478f032b54dafc0609a47c5724c /src/2geom/coord.h
parentLPE: no longer overload doEffect methods, but name them according to accepted... (diff)
downloadinkscape-bd91c05befcd0db146a9f8ae604e6b7a2efdbe78.tar.gz
inkscape-bd91c05befcd0db146a9f8ae604e6b7a2efdbe78.zip
update to 2geom rev. 1168
(bzr r4068)
Diffstat (limited to 'src/2geom/coord.h')
-rw-r--r--src/2geom/coord.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/2geom/coord.h b/src/2geom/coord.h
index 34a585bf9..e9abfc927 100644
--- a/src/2geom/coord.h
+++ b/src/2geom/coord.h
@@ -46,19 +46,8 @@ typedef double Coord;
const Coord EPSILON = 1e-5; //1e-18;
-
-#ifdef near
-#define lib2geom_near_save near
-#undef near
-#endif
-
//IMPL: NearConcept
-inline bool near(Coord a, Coord b, double eps=EPSILON) { return fabs(a-b) <= eps; }
-
-#ifdef lib2geom_near_save
-#define near lib2geom_near_save
-#undef lib2geom_near_save
-#endif
+inline bool are_near(Coord a, Coord b, double eps=EPSILON) { return fabs(a-b) <= eps; }
} /* namespace Geom */