summaryrefslogtreecommitdiffstats
path: root/src/2geom/intersection-graph.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/2geom/intersection-graph.cpp')
-rw-r--r--src/2geom/intersection-graph.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/2geom/intersection-graph.cpp b/src/2geom/intersection-graph.cpp
index abe462e3f..b9e2feeed 100644
--- a/src/2geom/intersection-graph.cpp
+++ b/src/2geom/intersection-graph.cpp
@@ -119,7 +119,7 @@ PathIntersectionGraph::PathIntersectionGraph(PathVector const &a, PathVector con
std::size_t pi = i->pos.path_index;
PathInterval ival = forward_interval(i->pos, n->pos, pv[pi].size());
- PathPosition mid = ival.inside(precision);
+ PathTime mid = ival.inside(precision);
// TODO check for degenerate cases
// requires changes in the winding routine
@@ -216,7 +216,7 @@ PathVector PathIntersectionGraph::_getResult(bool enter_a, bool enter_b)
// append portion of path
PathInterval ival = PathInterval::from_direction(
- prev->pos.asPathPosition(), i->pos.asPathPosition(),
+ prev->pos.asPathTime(), i->pos.asPathTime(),
reverse, (*cur)[pi].size());
(*cur)[pi].appendPortionTo(result.back(), ival, prev->p, i->p);