path_intersection {cursr} | R Documentation |
Intersection between Two Paths
Description
Calculate the points of intersection between two paths.
Usage
path_intersection(path)
Arguments
path |
list containing two coordinate |
Value
Nx2 matrix of (row, column)
coordinates
See Also
Other path-fitting functions:
path_arc()
,
path_bezier()
,
path_circle()
,
path_ellipse()
,
path_fill()
,
path_fn()
,
path_lerp()
,
path_ray()
,
path_rect()
,
path_shape()
Examples
c1 <- path_circle(c(4,4), r=3)
c2 <- path_circle(c(6,6), r=3)
path_intersection(list(c1, c2))
[Package cursr version 0.1.0 Index]