Adds triangles defining a trajectory to a triangle list (for use with selected TDPACK routines).
Available in version 4.3.1 and later.
procedure tdttri ( u [*] : float, v [*] : float, w [*] : float, marker_type  : integer, radius  : float, gap_size  : float, rtri [*] : float, ntri  : integer, render_index  : integer, uvwmin  : float, uvwmax  : float )
Real arrays of length n containing the coordinates of points defining a trajectory.marker_type
An input scalar with an absolute value between 1 and 5, inclusive, specifying the type of markers to be generated: tetrahedrons, octahedrons, cubes, icosahedrons, or elaborated icosahedrons (effectively, spheres), respectively. If the value of marker_type is less than zero, the markers will not be clipped against the sides of the data box, otherwise, they will.radius
A scalar specifying the radius, in 3-space, of the markers to be placed along the trajectory.gap_size
A scalar sapecifying the size of the gap, in 3-space, between each pair of adjacent markers along the trajectory. The actual gap used will be slightly adjusted so that there can be markers centered on the first and last points of the trajectory, with the others distributed evenly between those two.rtri
A float input/output array, dimensioned mtri x 10, in which a list of triangles has been stored.ntri
An input/output integer specifying the number of triangles currently in the triangle list.. It is the user's responsibility to zero this initially and its value is increased by each call to a triangle-generating routine like tdttri. If ntri becomes equal to mtri, tdttri does not take an error exit; instead, it just stops generating triangles. Therefore, it's a good idea, after calling tdttri, to check the value of ntri against the dimension mtri; if they're equal, it probably means that the triangle list filled up and that the rendered surface will be incomplete.uvwmin
Float arrays of 3 elements each specifying the minimum and maximum coordinate values defining the data box in 3-space.
This routine is part of the low-level TDPACK package, which is a group of Fortran and C callable routines for projecting objects from a 3-dimensional coordinate system having U, V, and W axes to a 2-dimensional projection plane having X and Y axes and/or for drawing the projections of those objects. This can be referred to somewhat loosely as "drawing objects in three dimensions".
Please see the documentation on TDTTRI for a full description of this procedure.
No examples are currently available for this function. Please see the documentation on TDTTRI for more information about this function.