wk_bbox {wk}R Documentation

2D bounding rectangles

Description

2D bounding rectangles

Usage

wk_bbox(handleable, ...)

## Default S3 method:
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

wk_bbox(wkt("LINESTRING (1 2, 3 5)"))


[Package wk version 0.4.0 Index]