MCPcopy Create free account
hub / github.com/OpenOrienteering/mapper / calculateIntersections

Function calculateIntersections

test/path_object_t.cpp:67–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65}
66
67PathObject::Intersections calculateIntersections(const PathObject& path1, const PathObject& path2)
68{
69 PathObject::Intersections actual_intersections;
70 path1.calcAllIntersectionsWith(&path2, actual_intersections);
71 actual_intersections.normalize();
72 return actual_intersections;
73}
74
75
76} // namespace

Callers 1

calcIntersectionsTestMethod · 0.85

Calls 2

normalizeMethod · 0.45

Tested by

no test coverage detected