how to check if line segments form closed polygon

Printable View