An Algorithm for Detecting Lines Based on Primitive Connection | IEEE Conference Publication | IEEE Xplore