Appendix A

Geometry and Trigonometry

A.1 Triangles

Two triangles that share the same three interior angles are said to be similar (Figure A.1). The three ratios of corresponding sides for similar triangles are all equal. That is, letting bapp01-math-0001 denote the length of the edge from vertex bapp01-math-0002 to vertex bapp01-math-0003, the following ratios are equal:

A.1 equation

A line segment passing through a vertex and perpendicular to the opposite side of a triangle is called an altitude (Figure A.2). There are three altitudes in a triangle and they all intersect in a single point called the orthocenter. Any side of the triangle can be considered the base and the area of the triangle is one-half of the length of the base (bapp01-math-0005) times the length of the altitude (bapp01-math-0006) that is perpendicular to the base

A.2 equation

Figure A.1 Similar triangles

Get Mathematical Structures for Computer Graphics now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.