Calculated using complex numbers and returned in radians minus the first one (modulo 2*pi).
coo_angle_tangent(coo)# S3 method for default
coo_angle_tangent(coo)
# S3 method for Coo
coo_angle_tangent(coo)
coo_tangle(coo)
numeric
, the tangent angle along the perimeter, or a
list
of those for Coo
a matrix of coordinates or any Coo
tfourier
Other coo_ descriptors:
coo_angle_edges()
,
coo_area()
,
coo_boundingbox()
,
coo_chull()
,
coo_circularity()
,
coo_convexity()
,
coo_eccentricity
,
coo_elongation()
,
coo_length()
,
coo_lw()
,
coo_rectangularity()
,
coo_rectilinearity()
,
coo_scalars()
,
coo_solidity()
,
coo_tac()
,
coo_width()
b <- bot[1]
phi <- coo_angle_tangent(b)
phi2 <- coo_angle_tangent(coo_smooth(b, 2))
plot(phi, type='l')
plot(phi2, type='l', col='red') # ta is very sensible to noise
# on Coo
bot %>% coo_angle_tangent
Run the code above in your browser using DataLab