Intersect Infinite Straight Lines with a Window
Take the intersection between a set of infinite straight lines and a window, yielding a set of line segments.
- Object of class
"infline"specifying a set of infinite straight lines in the plane.
- Window (object of class
This function computes the intersection between
a set of infinite straight lines in the plane
(stored in an object
L of class
"infline" created by the
infline) and a window
The result is a pattern of line segments.
- A line segment pattern (object of class
To divide a window into pieces using infinite lines,
L <- infline(p=1:3, theta=pi/4) W <- square(4) clip.infline(L, W)