合并两个Path使其头相连,尾相连
Path merge(Line l) { Path p1 = path(false); Path p2 = l.path(false); return mergePath(p1, p2); }