|
Geometry : |
Subject: [ggl] 'area' and 'within' implementations for spherical earth?
From: Barend Gehrels (barend)
Date: 2011-07-14 02:03:59
> I'm just saying if 'bg::correct(inner);' was insufficient. Changing the
> point order of inner didn't work either. 'bg::correct(boxRegion);' after
> adding the inner works fine.
Yep, at the call to bg:correct(inner), Boost.Geometry does not know it
is an inner ring. So it would "correct" it to clockwise.
So yes, calling it with the complete polygon, including the inner, is
the right call.
Regards, Barend
Geometry list run by mateusz at loskot.net