rotate.set: Rotate and scale a set of points from a reference point

Description Usage Arguments Value

Description

rotate.set() returns the angle from one point to another with modifications

Usage

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

Arguments

ax.x

x coordinates 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

x

x coordinates of ending points

y

y coordinates of ending points

Value

returns the new x and y point after rotation/scaling


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