9.11 Tetrahedra

Tetrahedra require the following parameters, typically formatted as follows:

BaseLength<spc>TopLength<spc>Height<spc>XOffset<spc>YOffset<nl>

where BaseLength is a double defining the side length of the base equilateral triangle, TopLength is a double defining the side length of the top equilateral triangle, Height is a double defining the distance, measured along the local Z-axis, between the base and the top of the tetrahedron, XOffset is a double containing an offset from the X-axis local origin for the top of the tetrahedron, YOffset is a double containing an offset from the Y-axis local origin for the top of the tetrahedron, <spc> is the space character and <nl> is the newline sequence.

Tetrahedra are drawn with their base on the local X-Y plane, with the cell origin used as the center of the base, and each tetrahedron extending up along the local Z-axis.

Your rating: None

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <abbr> <acronym> <address> <br> <cite> <code> <col> <colgroup> <dd> <dfn> <dl> <dt> <em> <hr> <kbd> <li> <ol> <p> <pre> <samp> <strong> <sub> <sup> <table> <tbody> <td> <tfoot> <th> <thead> <tr> <tt> <ul> <var>

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Copy the characters (respecting upper/lower case) from the image.