A wrapper on coo_intersect_angle and coo_intersect_direction for Out and Opn objects.
Usage
def_ldk_angle(coo, angle)
def_ldk_direction(coo, direction = c("down", "left", "up", "right")[4])
# S3 method for default
def_ldk_direction(coo, direction = c("down", "left", "up", "right")[4])
# S3 method for Out
def_ldk_direction(coo, direction = c("down", "left", "up", "right")[4])
# S3 method for Opn
def_ldk_direction(coo, direction = c("down", "left", "up", "right")[4])
Arguments
- coo
a
Out
orOpn
object- angle
numeric
an angle in radians (0 by default).- direction
character
one of"down", "left", "up", "right"
("right" by default)
See also
Typically used before coo_slice and coo_slide. See def_ldk_tips as well.