As of Version 10, all the functionality of the ComputationalGeometry package is built into the Wolfram System. >>

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


  • 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.