ComputationalGeometry`
ComputationalGeometry`

Ray

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

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

  • 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

InfiniteLine  VoronoiDiagram

Tutorials