lecture08-output-primitives-part-iv - Output Primitives...

Info iconThis preview shows pages 1–8. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Output Primitives Part IV Ellipse Drawing 2 General equation General equation of an ellipse: d 1 + d 2 = constant ( 29 ( 29 ( 29 ( 29 constant 2 2 2 2 2 1 2 1 =- +- +- +- y y x x y y x x 3 Standard equation However, we will only consider standard ellipse: 1 2 2 = - + - y c x c r y y r x x 4 Symmetry of an ellipse An ellipse only has a 2-way symmetry Calculation of a point (x,y) in one quadrant yields the ellipse points shown for the other three quadrants 5 Equation of an ellipse revisited Consider an ellipse centered at the origin: What is the discriminator function ? ( 29 2 2 2 2 2 2 , y x x y e r r y r x r y x f- + = 1 2 2 = + y x r y r x 6 Equation of an ellipse revisited and its properties: f e (x,y) < 0 for a point inside the ellipse f e (x,y) 0 for a point outside the ellipse f e (x,y) = 0 for a point on the ellipse 7 Midpoint Ellipse Algorithm Ellipse is different from circle....
View Full Document

This note was uploaded on 04/05/2010 for the course COMPUTER S 876 taught by Professor Ch during the Spring '10 term at Amirkabir University of Technology.

Page1 / 20

lecture08-output-primitives-part-iv - Output Primitives...

This preview shows document pages 1 - 8. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online