mfc-hypermesh : orthotope mesh of a 3d hypercube

Contents

Generating the mesh by using OrthMesh object

Oh=OrthMesh(3,10,'box',[-1 1;-2 2;-3 3],'type','orthotope');

Representation of the mesh

figure(1)
Oh.plot('legend',true)

Representation of all the 2-faces meshes

figure(2)
Oh.plot('m',2,'legend',true)

Representation of all the 1-faces meshes

figure(3)
Oh.plot('m',2,'color',[0.8,0.8,0.8],'EdgeAlpha',0.2,'FaceColor','none')
hold on
Oh.plot('m',1,'Linewidth',2,'legend',true)

Representation of all the 0-faces meshes

figure(4)
Oh.plot('m',1,'color','k')
hold on
Oh.plot('m',0,'legend',true)