14.5.2 Half lines in space: half_line
See Section 13.7.2 for half-lines in the plane.
The half_line command finds rays.
-
half_line take two arguments:
P,Q, two points (which can also be given as a list).
- half_line(P,Q)
returns and draws the ray from P through Q
Example.
Input:
half_line(point(0,0,0),point(1,1,1))
Output: