Hi,Would this fit your needs?http://www.boost.org/doc/libs/1_53_0/libs/geometry/doc/html/geometry/reference/algorithms/correct.html Bruno