Boost logo

Geometry :

Subject: [ggl] Re: Incorrect polygon area and problem with the boost::geometry::correct
From: Barend Gehrels (barend)
Date: 2011-03-18 13:16:11


Hi Vishnu,

Are you sure you have it defined like this:
template<> struct interior_rings
{
typedef std::vector holes_type;
(...)

Because that is wrong - I'm note sure why it compiles for you using
MSVC, but it really should have template parameters. But probably they
are there and eliminated by the HTML layout.

If they are not there, that is probably the reason for both errors - the
area and the not-compiling under RHEL. But this cannot be - it will not
compile like this using MSVC.

So I cannot test your program in this form... Can you paste it into
codepad.org?

Regards, Barend


Geometry list run by mateusz at loskot.net