Ellipse Parameters
- 6
w= 2/3, w= 1/2, w= 1/3
We know the center M = (xm, ym) and the values ofa and b. We want to calculate the curve pointsP0,P1 and P2 and the weight w to draw the ellipse. Withr =√
a2+b2 we get:
P0=
xm−a2 r ym+ b2
r
!
P1= xm ym+r
!
P2 =
xm+a2 r ym+b2 r
!
w0 = 1 w1 =±b
r (1)
With these weights we can draw the ellipse with two segments. One segment uses the positive and the other the negative weight w1.
1