3D-Matching of linear features