In the measurement of any distance for the purposes of any enactment, that distance shall be measured in a straight line on a horizontal plane.