path_intersection: Intersection between Two Paths

Description Usage Arguments Value See Also Examples

View source: R/7-Path.R

Description

Calculate the points of intersection between two paths.

Usage

1

Arguments

path

list containing two coordinate (row, column) matrices.

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

1
2
3
c1 <- path_circle(c(4,4), r=3)
c2 <- path_circle(c(6,6), r=3)
path_intersection(list(c1, c2))

cursr documentation built on Jan. 13, 2021, 7:35 a.m.