In S2 terminology, a "point" is a 3-dimensional unit vector representation
of an s2_latlng(). Internally, all s2 objects are stored as
3-dimensional unit vectors.
Usage
s2_point(x, y, z)
as_s2_point(x, ...)
# S3 method for s2_point
as_s2_point(x, ...)
# S3 method for s2_latlng
as_s2_point(x, ...)
# S3 method for s2_geography
as_s2_point(x, ...)
# S3 method for matrix
as_s2_point(x, ...)
# S3 method for s2_point
as.data.frame(x, ...)
# S3 method for s2_point
as.matrix(x, ...)
Arguments
x, y, z
Vectors of latitude and longitude values in degrees.