Skip to content

shape_info

Eric E Palmer edited this page Oct 23, 2026 · 1 revision

shape_info

Category B Version 3.0

Description

This routine produces the following useful information about a shape model:

  • 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 - You provide the filename as standard input.

Output

  • Display in this format:
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

Using shape_info

At the prompt, enter the filename for the shape file.

/!\ You must use the full path.

SHAPEFILES/SHAPE.TXT

(Compiled by KD)

Clone this wiki locally