CUBOIDSURFACE Generates regular square mesh on surface of rectangular prism

Examples

[v,f] = cuboidSurface; figure; trimesh(f, v(:,1), v(:,2), v(:,3), 'FaceColor', 'none');
[v,f] = cuboidSurface(3,4,5); figure; trimesh(f, v(:,1), v(:,2), v(:,3), 'FaceColor', 'none'); axis equal;

TODO

  • docs

Authors

Mehul Gajwani, Monash University, 2024