>>2 I should have added: Generate points from line-line, line-circle and circle-circle intersections. Generate lines by connecting 2 points. Generate circles from a center point and a circumference point.
Luke is easily identifiable by his trademark ellipsis. The emoticons are a sufficient (but not necessary) condition too.
Name:
Anonymous2014-05-22 16:47
A point is a pair of coordinates (x,y) A line is the set of points starting at A, moving in the direction of B: { A + (B-A)u in R^2 | u in R } letting u range over all real numbers gives you an infinitely long line, letting u range over the interval [0,1] gives you the line segment from A to B. A circle is the set of points at some fixed radius r from a central point C, by pythagoras theorem { (x,y) in R^2 | (Cx-x)^2 + (Cy-y)^2 = r^2 }
The intersection of line AB = { A + (B-A)u in R^2 | u in R } with CD = { C + (D-C)v in R^2 | v in R } is the intersection of the sets of points. To find this we need to find the (u,v) where A + (B-A)u = C + (D-C)v. Split this equation into x and y compoenents: