Asteroid, Baseball, etc. (obj mesh) Projected Surface Area
For simple shapes where the hidden faces are trivially removed (normal pointing in opposite direction), the surface area is calculated.
Here the surface area of two asteroids is estimated from 3d printing files shared at NASA (https://nasa3d.arc.nasa.gov/models). The code reformats obj files (other 3d formats can easily be converted to obj with tools online). The projected areas can be used to reverse engineer size/shape or predict brightness for educational astronomy.
The code can be used to calculate projected areas of baseballs, footballs, etc., for computing the coefficient of atmospheric drag.
The examples use the aerospace tool box function to get direction cosine matrices (dcm), but this can be calculated independently, so that tool box is not an extreme dependency.
Cite As
Meg Noah (2024). Asteroid, Baseball, etc. (obj mesh) Projected Surface Area (https://www.mathworks.com/matlabcentral/fileexchange/73915-asteroid-baseball-etc-obj-mesh-projected-surface-area), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
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.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0 |