# clip.infline

From spatstat v1.19-2
by Adrian Baddeley

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

##### Usage

`clip.infline(L, win)`

##### Arguments

- L
- Object of class
`"infline"`

specifying a set of infinite straight lines in the plane. - win
- Window (object of class
`"owin"`

).

##### Details

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
function `infline`

) and a window `win`

.
The result is a pattern of line segments.

##### Value

- A line segment pattern (object of class
`"psp"`

).

##### See Also

To divide a window into pieces using infinite lines,
use `chop.tess`

.

##### Examples

```
L <- infline(p=1:3, theta=pi/4)
W <- square(4)
clip.infline(L, W)
```

*Documentation reproduced from package spatstat, version 1.19-2, License: GPL (>= 2)*

### Community examples

Looks like there are no examples yet.