
Hi Kef,
When I try to use equals() on multi_polygons, the compiler blows up, giving a template error. I've tried this in CodeWarrior and MSVC. Using equals() on two polygon_2d's works fine, but it doesn't like it when I use multi_polygons. Is equals() for multi_polygons not implemented, or am I just missing something?
Sorry, where are my manners? The file I had attached had much more than was necessary to demonstrate the problem. Here, this is a trivial one:
You are right, equals for multi* is not yet there. I planned to put a new version there this weekend, anyway, so will take care that it is included. Intersections are enhanced in that new version. However, they should still be oriented clockwise in this version (the definitions from your first samples are counter-clockwise (so it was useful them being there :-) ). Is GGL running fine using CodeWarrior? By the way, GGL is renamed to Boost.Geometry, so you will have to rename ggl:: to boost::geometry or create an alias. Regards, Barend