summaryrefslogtreecommitdiffstats
path: root/src/2geom/path-intersection.h
diff options
context:
space:
mode:
authorDiederik van Lierop <mail@diedenrezi.nl>2008-08-15 20:23:54 +0000
committerdvlierop2 <dvlierop2@users.sourceforge.net>2008-08-15 20:23:54 +0000
commit303f67444b402faaf8ebf9645de4b4362b31d35c (patch)
treed9e8550b6e4021a05d966690d4e02ec239b8784b /src/2geom/path-intersection.h
parentEliminate more of SP_ACTIVE_DESKTOP (diff)
downloadinkscape-303f67444b402faaf8ebf9645de4b4362b31d35c.tar.gz
inkscape-303f67444b402faaf8ebf9645de4b4362b31d35c.zip
Update to 2geom rev. 1538
(bzr r6634)
Diffstat (limited to 'src/2geom/path-intersection.h')
-rw-r--r--src/2geom/path-intersection.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/2geom/path-intersection.h b/src/2geom/path-intersection.h
index 2094c4beb..73dc3da8b 100644
--- a/src/2geom/path-intersection.h
+++ b/src/2geom/path-intersection.h
@@ -50,6 +50,11 @@ std::vector<double> path_mono_splits(Path const &p);
CrossingSet crossings_among(std::vector<Path> const & p);
Crossings self_crossings(Path const & a);
+inline Crossings crossings(Curve const & a, Curve const & b) {
+ DefaultCrosser c = DefaultCrosser();
+ return c.crossings(a, b);
+}
+
inline Crossings crossings(Path const & a, Path const & b) {
DefaultCrosser c = DefaultCrosser();
return c.crossings(a, b);