CS1550 Fundamentals For Computer Graphics Analytic Geometry Sumanth Shankar California State University, Los Angeles
Trapezoid A quadrilateral having one pair of parallel sides. The mid-line and area are given by :- m = 1 2 (a + b) A = m * h
Parallelogram A quadrilateral having two pair of intersecting parallel lines, so it has equal opposite sides and equal opposite angles. The altitude, diagonal and area are given by:- h = b * sin 𝛼 d = 𝑎 2 + 𝑏 2 ±2𝑎 𝑏 2 − ℎ 2 A = a * h
Rhombus A rhombus is a parallelogram with four sides of equal length. The area is given by:- A = 𝑎 2 * sin 𝛼
Circle The circumference and area of the circle is given by:- C = 𝜋 ∗𝑑 𝑜𝑟 2𝜋 ∗𝑟 A = 𝜋 ∗ 𝑟 2 or 𝜋 ∗ 𝑑 2 4 d = 2 * r
Circle An annulus is the area between two concentric circles. We can calculate the area by:- A = 𝜋 𝑅 2 − 𝑟 2 or 𝜋 4 ( 𝐷 2 − 𝑑 2 ) D = 2R and d = 2r