Apply coordinate transformations

wk_transform(handleable, trans, ...)

wk_transform_filter(handler, trans)

Arguments

handleable

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

trans

An external pointer to a wk_trans object

...

Passed to the wk_handle() method.

handler

A wk_handler object.

Examples

wk_transform(xy(0, 0), wk_affine_translate(2, 3))
#> <wk_xy[1]>
#> [1] (2 3)