





Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!






1
Week 1, Lecture 2 David Breen, William Regli and Maxim Peysakhov Geometric and Intelligent Computing Laboratory Department of Computer Science Drexel University http://gicl.cs.drexel.edu 2
7
8
u^ ⋅ v = u v cos( θ) 9
j = 1 n
12
19
Given: implicit line equation: Let: where r and q are points on the line and dx ,dy are positive Then: Observe that all of these are integers and: for points above the line for points below the line Now….. (^) Pics/Math courtesy of Dave Mount @ UMD-CP 21
Pics/Math courtesy of Dave Mount @ UMD-CP
M Q 23
Pics/Math courtesy of Dave Mount @ UMD-CP^24
25
Pics/Math courtesy of Dave Mount @ UMD-CP^28
Assumptions: 0 ≤ slope ≤ 1 Pre-computed: (^) Pics/Math courtesy of Dave Mount @ UMD-CP 29
30
37
38
39
43
44
Color Name RGB Color black # 00 00 00 white **# ff ff ff
red # ff 00 00 green # 00 ff 00 blue # 00 00 ff 46