|
Size: 833
Comment:
|
Size: 878
Comment:
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 18: | Line 18: |
| * File name of shape file | * File name of shape file. This needs to be the full path. |
| Line 20: | Line 20: |
| SHAPE.TXT | SHAPEFILES/SHAPE.TXT |
shape_info
Compiled by KD
Description
This routine produces useful information about a shape model. The information it produces is as follows:
- Volume (km^3)
- Surface area (km^2)
- Center of figure offset from center of coordinate system (km)
- Moment of inertial tensor assuming body is homogenous (per unit mass)
- Last bit of information is unknown
Input Files
- Shape file, name provided in stdin
Input - stdin
- File name of shape file. This needs to be the full path.
SHAPEFILES/SHAPE.TXT
Output
Volume = 0.62119D-01
Area = 0.77755D+00
Offset = 0.95893D-03 -0.34589D-03 -0.91561D-03
2.33664 -0.00537 -0.00069
I/M = -0.00537 2.38540 -0.00717 x 10 ^ -2
-0.00069 -0.00717 2.59532
dPM = 6.30695