Boost Users :
Subject: Re: [Boost-users] [geometry] segment concept
From: Barend Gehrels (barend_at_[hidden])
Date: 2011-07-26 13:37:01
> I meant intersection of ring border and segment. For example.
> ring: (0, 0), (2, 0), (2, 2), (0, 2)
> segment: (-1, 1), (3, 1)
> output two points: (0,1) and (2,1)
This currently is only possible if you use the detail: interface
(subject to change), using a linestring and a polygon or ring.
Like that, it is almost literally described in one of the examples:
05_b_overlay_linestring_polygon_example.cpp , in the release. They are
called "turns" and the function is "get_turns" because they contain,
besides intersection information, also turn information. But the
intersection points are there.
In the end the generic intersection function will also be able to output
points (actually that is quite easy but still has to be done).
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net