Completed isCollinearLine