Boost logo

Geometry :

Subject: [ggl] intersection_segment...
From: Chris Browet (cbro)
Date: 2009-06-26 08:16:23


Hi,

Thanks for this. 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.

Anyway, trying to compile :

std::vector<ggl::point_2d> intersected;
>
> ggl::intersection < ggl::point_2d, ggl::segment, ggl::segment,
> std::back_insert_iterator< std::vector<ggl::point_2d> > >
>
> (s1, s2, std::back_inserter(intersected));
>

I receive, under GCC:

> error: no matching function for call to
> `intersection(ggl::segment<ggl::point_2d>&, ggl::segment<ggl::point_2d>&,
> std::back_insert_iterator<std::vector<ggl::point_2d,
> std::allocator<ggl::point_2d> > >)'
>

Any idea?

- Chris -

2009/6/26 Barend Gehrels <Barend.Gehrels_at_[hidden]>

> Hi,
>
> Sorry about the spam :-)
>
>
> Done, everything is checked in again.
>>
>> New:
>> - intersection segment/segment
>> - intersection linestring/linestring (
>> http://www.xs4all.nl/~barend/geodan/overlays/get_ip7.svg>
>> )
>>
> Forgot to mention as new: the new multi-polygon / multi-polygon
> intersection and union...
>
>
>> Updated:
>> - intersection box/polygon: intersections are now found box-specific
>> instead (more efficient) of generic polygon/polygon
>> - tests for intersection
>>
>
> Still to be done:
> - assembling / assigning holes in the output
> - union_-wrappers
> - some harmonizations inside
> - ...
>
>
> Barend
>
>
> _______________________________________________
> ggl mailing list
> ggl_at_[hidden]
>
http://lists.osgeo.org/mailman/listinfo/ggl
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/ggl/attachments/20090626/b7e28505/attachment.html


Geometry list run by mateusz at loskot.net