Subject: [ggl] intersection_segment...
From: Barend Gehrels (Barend.Gehrels)
Date: 2009-06-28 16:38:50
> Reverting what I said yesterday, it is actually segment/segment
> intersection I need, because I need to know precisely which segments
> of the linestrings intersects.
OK. Alternatively , you might call ggl::get_intersection_points
directly. It gives you the intersection, plus the segment, plus
information about *how *they intersect. Can be called like this:
typedef ggl::detail::intersection::intersection_point<P> ip;
ggl::get_intersection_points(line1, line2, ips);
ggl::get_intersection_points is also a generic algorithm, so works for
points, linestrings and polygons and multi*.
-------------- next part --------------
An HTML attachment was scrubbed...
Geometry list run by mateusz at loskot.net