Generic transform class

wk_trans_inverse(trans, ...)

as_wk_trans(x, ...)

# S3 method for wk_trans
as_wk_trans(x, ...)

new_wk_trans(trans_ptr, subclass = character())

Arguments

trans

An external pointer to a wk_trans object

...

Passed to S3 methods

x

An object to be converted to a transform.

trans_ptr

An external pointer to a wk_trans_t transform struct.

subclass

An optional subclass to apply to the pointer