ellipses: 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
ellipses(x, y, angle, length, width, res = 50)

Arguments

x

Elipse centre x coordinate

y

Elipse centre y coordinate

angle

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

length

Length of major axis

width

Length of minor axis

res

Number of points in elipse perimeter

Value

A dataframe


cj-holmes/gglcd documentation built on July 30, 2020, 9:54 a.m.