长方体建模createCubeObject
Matlab
function cubeInfo = createCubeObject(cubeInfo)
%{
cubeInfo.axisX = [ 400 500 300];
cubeInfo.axisY = [ 500 200 200];
cubeInfo.axisZ = [ 0 0 150];
cubeInfo.length = [ 200 100 150];
cubeInfo.width = [ 150 120 100];
cubeInfo.height = [ 150 100 50];
%}
cubeInfo.axisX = [0 200 400];
cubeInfo.axisY = [200 100 000 ];
cubeInfo.axisZ = [300 0 100];
cubeInfo.length = [200 150 200];
cubeInfo.width = [150 200 150];
cubeInfo.height = [150 200 150];
cubeInfo.exist = 1;
end
