function [x,y,z] = jsonStruct2link(a,b)
    x = double([a.X; b.X]);
    y = double([a.Y; b.Y]); 
    z = double([a.Z; b.Z]);
end
