Learn R Programming

wk (version 0.5.0)

wk_bbox: 2D bounding rectangles

Description

2D bounding rectangles

Usage

wk_bbox(handleable, ...)

# S3 method for default wk_bbox(handleable, ...)

wk_bbox_handler()

Arguments

handleable

A geometry vector (e.g., wkb(), wkt(), xy(), rct(), or sf::st_sfc()) for which wk_handle() is defined.

...

Passed to the wk_handle() method.

Value

A rct() of length 1.

Examples

Run this code
# NOT RUN {
wk_bbox(wkt("LINESTRING (1 2, 3 5)"))

# }

Run the code above in your browser using DataLab