how to represent a ray - Search