The geom2d module contains several functions for the manipulations of planar shapes
Wiki: demo pages