geosphere (version 1.5-10)

gcLon: Longitude on a Great Circle

Description

Longitudes at which a great circle crosses a latitude (parallel)

Usage

gcLon(p1, p2, lat)

Arguments

p1

longitude/latitude of point(s). Can be a vector of two numbers, a matrix of 2 columns (first one is longitude, second is latitude) or a SpatialPoints* object

p2

as above

lat

a latitude

Value

vector of two numbers (longitudes)

References

http://www.edwilliams.org/avform.htm#Intersection

See Also

gcLat, gcMaxLat

Examples

Run this code
# NOT RUN {
gcLon(c(5,52), c(-120,37), 40)
# }

Run the code above in your browser using DataLab