Converts between Cartesian and spherical coordinates
Usage
to_vec(x)
to_spherical(x, class = c("line", "plane"))
line2vec(l)
plane2vec(p)
vec2line(x)
vec2plane(x)
Converts between Cartesian and spherical coordinates
to_vec(x)
to_spherical(x, class = c("line", "plane"))
line2vec(l)
plane2vec(p)
vec2line(x)
vec2plane(x)