S3 details for geovctrs_rect

new_geovctrs_rect(
  x = list(xmin = double(), ymin = double(), xmax = double(), ymax = double(), srid =
    integer())
)

is_geovctrs_rect(x)

as_geo_rect(x, ...)

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

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

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

Arguments

x

A (possibly) geo_rect()

...

Unused

to

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

y

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