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.


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 ( 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 (2021). Asteroid, Baseball, etc. (obj mesh) Projected Surface Area (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (3)


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!