angle_adj {tablesgg} | R Documentation |
Horizontal and Vertical Dimensions of a Rectangle after Rotation
Description
Calculate the horizontal and vertical dimensions of a rectangle after
rotation by angle theta
(in degrees). This is an internal
function, not intended to be called by package users.
Usage
angle_adj(hsize, vsize, theta)
Arguments
hsize , vsize |
Numeric scalars, the width and height of a rectangle oriented parallel to the coordinate axes, with one corner at the origin. |
theta |
Rotation angle, in degrees. |
Value
Two-element vector with the new width and height, with respect to the original axes, of the rotated rectangle.
[Package tablesgg version 0.9-1 Index]