| coo_angle_edges {Momocs} | R Documentation |
Calculates the angle of every edge of a shape
Description
Returns the angle (in radians) of every edge of a shape,
Usage
coo_angle_edges(coo, method = c("atan2", "acos")[1])
## Default S3 method:
coo_angle_edges(coo, method = c("atan2", "acos")[1])
## S3 method for class 'Coo'
coo_angle_edges(coo, method = c("atan2", "acos")[1])
Arguments
coo |
a |
method |
'atan2' (or 'acos') for a signed (or not) angle. |
Value
numeric the angles in radians for every edge.
Note
coo_thetapts is deprecated and will be removed
in future releases.
See Also
Other coo_ descriptors:
coo_angle_tangent(),
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()
Examples
b <- coo_sample(bot[1], 64)
coo_angle_edges(b)
[Package Momocs version 1.4.1 Index]