elipses: Create general elipse perimeter coordinates

Description Usage Arguments Value

View source: R/ellipses.R

Description

Parameterised elipse equations. Provide an origin (x and y), minor and major radii, an angle of rotation (measured from positive x to the elipse major axis) and a resolution. The funtion returns a list of the x and y coordinates of the perimeter of the elipse.

Usage

1
elipses(x, y, major, minor, angle, res)

Arguments

x

Elipse centre x coordinate

y

Elipse centre y coordinate

major

Major radius

minor

Minor radius

angle

Angle (radians) of rotation (measured from positive x to the elipse major axis)

res

Number of points in elipse perimeter

Value

A list (containing the x and y coordinates of elipse perimeter)


dickie-roper/lcdiagrammer documentation built on Nov. 4, 2019, 10:31 a.m.