Height by Triangulation

(Python 3.x)


Determines an object height from three geological compass inclination measurements and one base distance



This code solves a classic triangulation task.

Elevations above the horizon are positive, below - negative.

1. Use the compass clinometer to measure elevation \(\alpha\) to the object’s top;

2. Move towards the object by distance Base;

3. Measure elevation \(\beta\) to the object’s top;

4. Optionally measure the ground slope \(\gamma\) by pointing clinometer to the object’s bottom (on a horizontal ground use zero);

5. Don't forget to add your "eye-height" h.


Download source code: