Line segments in plane