Geometry shape class inherit from Polygon class