Added methods to PolygonPt, finished discretization in ProcessPathGenerator