Ray[{x1,y1},{x2,y2}]
is an object representing the infinite ray beginning at {x1,y1} in the direction of the point {x2,y2}.


Ray
Ray[{x1,y1},{x2,y2}]
is an object representing the infinite ray beginning at {x1,y1} in the direction of the point {x2,y2}.
Details and Options
- Ray functionality is now available in the built-in Wolfram Language function InfiniteLine.
- To use Ray, you first need to load the Computational Geometry Package using Needs["ComputationalGeometry`"].
- Ray objects are used in the representation of open polygons in Voronoi diagrams.
See Also
Text
Wolfram Research (2012), Ray, Wolfram Language function, https://reference.wolfram.com/language/ComputationalGeometry/ref/Ray.html.
CMS
Wolfram Language. 2012. "Ray." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ComputationalGeometry/ref/Ray.html.
APA
Wolfram Language. (2012). Ray. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ComputationalGeometry/ref/Ray.html
BibTeX
@misc{reference.wolfram_2025_ray, author="Wolfram Research", title="{Ray}", year="2012", howpublished="\url{https://reference.wolfram.com/language/ComputationalGeometry/ref/Ray.html}", note=[Accessed: 15-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_ray, organization={Wolfram Research}, title={Ray}, year={2012}, url={https://reference.wolfram.com/language/ComputationalGeometry/ref/Ray.html}, note=[Accessed: 15-August-2025]}