BoltTree bendBolt(BoltTree b, Point2 Function(double x, double y) fn) => BoltTree([ for (final q in b.paths) BoltPath([for (final (x, y) in q.pts) fn(x, y)], q.w), ]);