ellipse: Calculates Ellipse Coordinates

Description Usage Arguments Details Value Author(s) See Also

View source: R/ellipse.R

Description

Calculates x,y cartesian position coordinates of an ellipse.

Usage

1
ellipse(xcen = 0, ycen = 0, a = 10, b = 5, e = 1-b/a, pa = 0)

Arguments

xcen

origin (x)

ycen

origin (y)

a

semi-major axis

b

semi-minor axis

e

ellipticity (1 - b/a)

pa

position angle (right=0, up=90)

Details

Note that 'b' is redundant if values of 'e' are given.

Value

x

ellipse coordinates along the x-axis

y

ellipse coordinates along the y-axis

Author(s)

Menaechmus, Euclid, Apollonius, Lee Kelvin

Maintainer: Lee Kelvin <lee.kelvin@uibk.ac.at>

See Also

The astronomy package: astro.


astro documentation built on May 2, 2019, 2:14 a.m.

Related to ellipse in astro...