Transform an edge with a function (on Point
PathEdge transformed(Point<double> Function(Point<double>) transform);