ENH: added classes for Point2D, Polygon, Transform and Piece