wk_handle.wk_crc | R Documentation |
The handler is the basic building block of the wk package. In
particular, the wk_handle()
generic allows operations written
as handlers to "just work" with many different input types. The
wk package provides the wk_void()
handler, the wk_format()
handler, the wk_debug()
handler, the wk_problems()
handler,
and wk_writer()
s for wkb()
, wkt()
, xy()
, and sf::st_sfc()
)
vectors.
## S3 method for class 'wk_crc'
wk_handle(
handleable,
handler,
...,
n_segments = getOption("wk.crc_n_segments", NULL),
resolution = getOption("wk.crc_resolution", NULL)
)
## S3 method for class 'wk_rct'
wk_handle(handleable, handler, ...)
## S3 method for class 'sfc'
wk_handle(handleable, handler, ...)
## S3 method for class 'wk_wkb'
wk_handle(handleable, handler, ...)
## S3 method for class 'wk_wkt'
wk_handle(handleable, handler, ...)
## S3 method for class 'wk_xy'
wk_handle(handleable, handler, ...)
wk_handle(handleable, handler, ...)
is_handleable(handleable)
new_wk_handler(handler_ptr, subclass = character())
is_wk_handler(handler)
as_wk_handler(handler, ...)
## S3 method for class 'sfg'
wk_handle(handleable, handler, ...)
## S3 method for class 'sf'
wk_handle(handleable, handler, ...)
## S3 method for class 'bbox'
wk_handle(handleable, handler, ...)
handleable |
A geometry vector (e.g., |
handler |
A wk_handler object. |
... |
Passed to the |
n_segments , resolution |
The number of segments to use when approximating
a circle. The default uses |
handler_ptr |
An external pointer to a newly created WK handler |
subclass |
The handler subclass |
A WK handler.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.