Line Segment Matching