Identifying Lines Rays And Segments