Boost logo

Geometry :

Subject: [ggl] union_inserter with ring output
From: Lee (lee)
Date: 2009-11-28 13:54:58


Barend Gehrels wrote:
>>
>> In the case of 'ring + ring -> ring' with union_inserter is there a
>> guarantee that no less and no more than one result object will be
>> output?
> No, if both rings are disjoint, both will be output, so in that case
> you get two objects.
> If both rings are empty (zero coordinates), you should get nothing,
> but this is probably an exceptional case.
Thanks,
That makes the need for an OutputIterator interface much more clear.


Geometry list run by mateusz at loskot.net