rotate: Rotate and scale a point from a reference point

Description Usage Arguments Value

Description

rotate() returns the new point from one point to another with modifications

Usage

1
rotate(x, y, ax.x, ax.y, rot = 0, sca = 1)

Arguments

x

x coordinate of ending point

y

y coordinate of ending point

ax.x

x coordinate of starting point

ax.y

y coordinate of ending point

rot

numeric degrees to rotate the ending point

sca

numeric amount to scale the distance from starting point

Value

returns the new x and y point after rotation/scaling


ash129/penrose documentation built on May 17, 2019, 12:04 p.m.