orbit_transform: Transform a position by orbiting around an origin

Description Usage Arguments Value Examples

Description

Transform a position by orbiting around an origin

Usage

1
orbit_transform(x1, y1, x2, y2, theta, return = "both")

Arguments

x1

x position of point to be transformed

y1

y position of point to be transformed

x2

x position of origin

y2

y position of origin

theta

Angle in radians

return

a string specifying whether to return "x", "y" or "both"

Value

numeric

Examples

1
orbit_transform(3,2,0,1,pi/4)

alexwhan/guilloche documentation built on May 20, 2019, 2:20 p.m.