Ray Endpoints and Intersection