Draw Cuboid
Version 1.1.0.0 (1.93 KB) by
Nicholas M
Creates a cuboid patch object with user-defined size, location and orientation.
Creates an 6 face cuboid patch object. User inputs are for center of volume, orientation, color, transparency and side lengths. The function returns the object handle as well as the face and vertex matrices.
Cite As
Nicholas M (2024). Draw Cuboid (https://www.mathworks.com/matlabcentral/fileexchange/25559-draw-cuboid), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2008b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Graphics > Formatting and Annotation > 3-D Scene Control > Lighting, Transparency, and Shading >
Find more on Lighting, Transparency, and Shading in Help Center and MATLAB Answers
Tags
Acknowledgements
Inspired: Agglomorative Clustering for Fault Network Reconstruction
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.