Chain surveying uses the principle of