Boost logo

Geometry :

Subject: [ggl] Simplifying polygons with co-linear points
From: Barend Gehrels (barend)
Date: 2011-10-13 02:41:34

> Is there a method of circular rotation already in Boost.Geometry? I searched through the sources and docs and couldn't find anything.

Nope. I have thought about making the std::rotate generic, as I've done
with std::unique, but it's not done yet. It's relatively simple, you
could use std::rotate from inside your algorithm, it's only that for
polygons you have to be careful with the start/end point.


Geometry list run by mateusz at