knotR (version 1.0-2)

as: Conversions between various forms of a knot

Description

Conversions between various forms of a knot.

Usage

as.knotvec(x)
as.minobj(x)
as.inkscape(x)
as.controlpoints(x)
as.minsymvec(x,symobj)

Arguments

x

Object to be converted

symobj

A symmetry object

Author

Robin K. S. Hankin

Details

The as.foo() functions are meant to be user-friendly; they use low-level functions like make_knotvec_from_minobj() (all of which are documented at utilities.Rd), which are a bit messy.

See Also

utilities

Examples

Run this code
as.minobj(k6_2)

x <- reader(system.file("6_3.svg",package="knotR"))  # x is class inkscape

as.minsymvec(x,symmetry_object(k6_3)) # as.minsymvec() needs a symmetry object

as.controlpoints(x)

as.knotvec(x)


Run the code above in your browser using DataLab