Vec3ToArray.m
% This function is part of the NMSM Pipeline, see file for full license.
%
% This function converts a Vec3 object to a 1x3 array.
%
% (Vec3) => (1x3 array)
% converts a Vec3 object to a 1x3 array
function array = Vec3ToArray(vec3)
array = zeros(1, 3);
array(1) = vec3.get(0);
array(2) = vec3.get(1);
array(3) = vec3.get(2);
end