ab2c: Calculate c in Focus (c, 0)

Description Usage Arguments Value Examples

View source: R/Geometry.R

Description

Calculate c in Focus (c, 0)

Usage

1
ab2c(a = 1, ab)

Arguments

a

Semi-major (Ellipse) or Radium (Ring).

ab

Semi-major over semi-minor. ab=1 for a Ring.

Value

c in Focus (c, 0)

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
x1=PCS2CCS(a=10, ab=1.5)
x2=PCS2CCS(a=9, ab=1.2)
c1 = ab2c(a=10, ab=1.5)
c2 = ab2c(a=9, ab=1.2)
plot(x1, type='n', xlim=c(-10,10), ylim=c(-10,10), asp=1)
abline(h=0, v=0, asp=1, lty=2)
lines(x1, col=2);
points(c1, 0, col=2)
lines(x2, col=3);
points(c2, 0, col=3)

happynotes/RoundAndRound documentation built on Jan. 31, 2020, 12:05 p.m.