Differences between revisions 6 and 7
Revision 6 as of 2016-02-15 10:57:52
Size: 1225
Editor: BMittan
Comment:
Revision 7 as of 2016-02-15 10:58:35
Size: 1282
Editor: BMittan
Comment:
Deletions are marked like this. Additions are marked like this.
Line 12: Line 12:
 (./) Any idea what this next line was supposed to be??

shape_info

  • (./) This needs just a bit more info but it's set up here.

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)

    (./) Any idea what this next line was supposed to be??

  • 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

  • (./) Is this a command line program? Does it issue a prompt? I think I need one bit of info.

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

  • /!\ You must use the full path.

SHAPEFILES/SHAPE.TXT
  • (./) Anything I should know about what to do with the display output?


(Compiled by KD)

CategoryPrograms

shape_info (last edited 2016-07-24 16:42:44 by BMittan)