Added implementation to convert PolyLines to PhysicsPolygons