rayIntersection Geometry. Find out the intersection of two rays. A ray has an origin (a location where it starts) and a direction. It goes infinitely in that direction. Like a laser in perfect vacuum.