Definitions and implementations of shapes composed several line segments: polylines, rings, polygons. Contains several polygon implementations, to manage the differents types of polygons.