Your input data is a JSON file that contains an array of 2-D line segments. Some of the line segments may be merged: they are parallel and share an endpoint. You need to find all mergeable lines and merge them. We have provided some code to get you started.
kuan0110 / line_segment_merge Goto Github PK
View Code? Open in Web Editor NEWThis project forked from ashibhuvan/line_segment_merge
License: MIT License