new_geovctrs_rect: S3 details for geovctrs_rect

Description Usage Arguments

View source: R/geo-rect.R

Description

S3 details for geovctrs_rect

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
new_geovctrs_rect(
  x = list(xmin = double(), ymin = double(), xmax = double(), ymax = double(), srid =
    integer())
)

is_geovctrs_rect(x)

as_geo_rect(x, ...)

## Default S3 method:
as_geo_rect(x, ...)

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

## S3 method for class '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()


paleolimbot/geovctrs documentation built on July 30, 2020, 3:41 p.m.