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.
Meg Noah (2020). 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 .
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!