File Exchange

image thumbnail

Asteroid, Baseball, etc. (obj mesh) Projected Surface Area

version 1.0.0 (116 KB) by Meg Noah
Calculate the projected area into wind axes for an obj (wavefront) that is a convex hull.

5 Downloads

Updated 13 Jan 2020

View License

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 (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 .

Comments and Ratings (3)

He

Yuchi Miao

Yuanhe LIU

MATLAB Release Compatibility
Created with R2019b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!