Boost logo

Geometry :

Subject: Re: [geometry] Intersection of linestring with polygon
From: jakka30 (sjakka_at_[hidden])
Date: 2013-10-16 09:23:47


Hi Adam & Barend,

Thank you a lot for your quick reply. I changed "current_piece.size()" to
boost::size(linestring) in two places at line number 399 & 185 in
follow.hpp. Now I am getting an error at the line number 189
(current_piece.clear()). The error message is

*Error 1 error C2882: 'clear' : illegal use of namespace identifier in
expression t:\boost\boost\geometry\algorithms\detail\overlay\follow.hpp 189*

To just try to compile it, I commented line number 189 and then compiled it.
I got the following error.

*Error 1 error C2676: binary '[' : 'const MyLineString2D<Type>' does not
define this operator or a conversion to a type acceptable to the predefined
operator t:\boost\boost\geometry\algorithms\detail\overlay\follow.hpp 64*

Could you please help me to fix this issue? I am trying to use the
intersection operation between a custom polygon and custom linestring.

Thank you in advance,
Suresh

--
View this message in context: http://boost-geometry.203548.n3.nabble.com/Intersection-of-linestring-with-polygon-tp3508279p4025659.html
Sent from the Boost Geometry mailing list archive at Nabble.com.

Geometry list run by mateusz at loskot.net