Create PolygonUtil class with lines method