Boost logo

Geometry :

Subject: [ggl] intersection_segment...
From: Barend Gehrels (Barend.Gehrels)
Date: 2009-06-25 11:14:45


Hi Chris,

> BTW, linestring by linestring, which is what I actually need (I am now
> doing linestring segment by linestring segment intersection) would be
> great.
OK, that option will come as well (but don't know if that is in next
half day ;-) )

Do you need *intersection points* as output of linestring/linestring?
Because it is also thinkable to get *intersection linestrings* or even
*segments*...

Regards, Barend

>
> But I can live with segment by segment...
>
> 2009/6/25 Barend Gehrels <Barend.Gehrels_at_[hidden]
> <mailto:Barend.Gehrels_at_[hidden]>>
>
> Hi Chris,
>
> Sorry for the inconvenience. It was very old.
>
> It will be replaced by a generic segment/segment intersection,
> delivering one or two points.
>
> This functionis there already but as a strategy (because it is
> different in Cartesian than in Spherical systems). In this
> strategy is specified what you want (intersection points, or just
> how they intersect). It is internal, so more complicated. You
> might call this directly using
>
> #include <ggl/strategies/cartesian/cart_intersect.hpp>
> #include <ggl/strategies/intersection_result.hpp>
>
> #include <ggl/policies/relate/intersection_points.hpp>
> ...
>
> ggl::segment_intersection_points<P> is
> = ggl::strategy::intersection::relate_cartesian_segments
> <
> ggl::policies::relate::segments_intersection_points
> <
> segment_type,
> segment_type,
> ggl::segment_intersection_points<P>
> >
> >::relate(segment_type(p1,p2), segment_type(p3,p4));
>
>
> But maybe it is better to wait for half a day, I'll try make a
> wrapper soon.
>
> The generic linestring/linestring would be an option but also not
> yet there.
>
> Regards, Barend
>
>
>
> Chris Browet wrote:
>> ... seem to have disappeared in latest SVN.
>>
>> As I understand the intersection algorithm is now generic, should
>> it be replaced by a linestring/linestring intersection?
>>
>> - Chris -
>> ------------------------------------------------------------------------
>
>
> _______________________________________________
> ggl mailing list
> ggl_at_[hidden] <mailto:ggl_at_[hidden]>
> http://lists.osgeo.org/mailman/listinfo/ggl
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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/20090625/f5e7c2f9/attachment.html


Geometry list run by mateusz at loskot.net