central.angle: Central angle between two points on a sphere

View source: R/geometry.R

central.angleR Documentation

Central angle between two points on a sphere

Description

On a sphere the central angle between two points is defined as the angle whose vertex is the centre of the sphere and that subtends the arc formed by the great circle between the points. This function computes the central angle for two points (\phi_1, \lambda_1) and (\phi_2,\lambda_2).

Usage

central.angle(phi1, lambda1, phi2, lambda2)

Arguments

phi1

Latitude of first point

lambda1

Longitude of first point

phi2

Latitude of second point

lambda2

Longitude of second point

Value

Central angle

Author(s)

David Sterratt

Source

Wikipedia https://en.wikipedia.org/wiki/Central_angle


retistruct documentation built on April 3, 2025, 5:58 p.m.