Subject: Re: [boost] [GGL] Can't seem to use equals on multi_polygons
From: Barend Gehrels (barend_at_[hidden])
Date: 2010-01-21 09:05:02
>> 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
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
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.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk