Stadiametric rangefinder