Roof prism is combined with a right angle prism and a totally internally refecting roof and they are attached by them largest square surfaces. It can invert and reverse an image, also, defect the image 90° . Therefore, it is often used in terrestrial telescopes, viewing systems and rangefnders.