Trigonometry is used in architecture whenever architecture involves the use of lines that are not on the x or y axis, it will involve trigonometry to calculate the length of lines and the angles they make. An example of this is calculating roof pitch.