S3 details for geovctrs_xy

new_geovctrs_xy(x = list(x = double(), y = double()))

is_geovctrs_xy(x)

# S3 method for matrix
as_geo_xy(x, ...)

# S3 method for geovctrs_xy
as.matrix(x, ...)

as_geo_xy(x, ...)

# S3 method for default
as_geo_xy(x, ...)

# S3 method for geovctrs_xy
vec_cast(x, to, ...)

# S3 method for geovctrs_xy
vec_ptype2(x, y, ...)

new_geovctrs_xyz(x = list(x = double(), y = double(), z = double()))

is_geovctrs_xyz(x)

# S3 method for matrix
as_geo_xyz(x, ...)

as_geo_xyz(x, ...)

# S3 method for default
as_geo_xyz(x, ...)

# S3 method for geovctrs_xyz
vec_cast(x, to, ...)

# S3 method for geovctrs_xyz
vec_ptype2(x, y, ...)

Arguments

x

A (possibly) geo_xy()

...

Unused

to, y

Arguments to vctrs::vec_cast() and vctrs::vec_ptype2()