You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The polygon is invalid because it is declared as closed (and it is not) and as clockwise (and it is not).
If you append the first point at the end and you also reverse the order to be clockwise you will get the correct distance which is 170.
Equivalently, you can just define your polygon as not closed and not clockwise typedef bg::model::polygon<point_t, false, false> polygon_t;
The text was updated successfully, but these errors were encountered: