summaryrefslogtreecommitdiffstats
path: root/src/2geom/d2.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/d2.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/d2.h')
-rw-r--r--src/2geom/d2.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/2geom/d2.h b/src/2geom/d2.h
index 3a9e14bda..47355eb60 100644
--- a/src/2geom/d2.h
+++ b/src/2geom/d2.h
@@ -130,9 +130,9 @@ operator!=(D2<T> const &a, D2<T> const &b) {
//IMPL: NearConcept
template <typename T>
inline bool
-near(D2<T> const &a, D2<T> const &b, double tol) {
+are_near(D2<T> const &a, D2<T> const &b, double tol) {
boost::function_requires<NearConcept<T> >();
- return near(a[0], b[0]) && near(a[1], b[1]);
+ return are_near(a[0], b[0]) && are_near(a[1], b[1]);
}
//IMPL: AddableConcept