powered by
Convert a list of 3d point sets to a 4d array. Also works for 2d point sets to 3d array conversion.
ps2ary(point.sets, dims)
a 3d or 4d array.
a list of point sets.
vector of dimensions of the axes (x,y in 2d, x,y,z in 3d).