I have a set of short (2D) lines (described by their border points).
1. Some of these lines visually create longer lines (please have a look at the image)
2. These longer lines create geometrical figures
Can you think about any smart algorithm to detect lines created by short lines and then to detect geometrical figures?