merge method

Path merge(
  1. Line l
)

合并两个Path使其头相连,尾相连

Implementation

Path merge(Line l) {
  Path p1 = path(false);
  Path p2 = l.path(false);
  return mergePath(p1, p2);
}