I don't mean vertex merging, but placing both (or all) entities so that they build up the original shape.