Subject: [ggl] Problem intersecting linestring & polygon in Xcode 3.2.2
From: Barend Gehrels (barend.gehrels)
Date: 2010-04-09 17:36:54
Welcome to the list!
Bruno/Mateusz thanks for fixing the reference. Indeed it probably should
be a const reference, I will look this weekend.
Actually I don't understand the linestring/polygon get_turns message
completely, yet, because it calls the "_generic" version. So get_turns
should work for linestring and polygon. It is tested in
where it compiles and runs.
Anyway, the complete linestring/polygon intersection (so after
get_turns) is not yet implemented completetly. So you won't get an
intersected linestring at this moment.
Scott K Warren wrote:
> Thanks for the quick response. This change does fix the "invalid initialization of non-const reference" error.
> However, I still get the same "apply is not a member of get_turns" error as before.
> On Apr 9, 2010, at 1:15 PM, Bruno Lalande wrote:
>> Looks like get_turns() should take its policy as const reference to
>> enable passing temporaries. Barend can you confirm?
>> In the meantime please try the following and tell us if it works better:
>> bg::detail::get_turns::no_interrupt_policy policy;
>> bg::get_turns<bg::detail::overlay::assign_null_policy>(ls, p, turns, policy);
>> ggl mailing list
> ggl mailing list
Geometry list run by mateusz at loskot.net