next up previous contents
Next: Local Function storetri() Up: Functions Previous: Global Function DrawTet()   Contents


Local Function DrawTetWithPlane()

This function calculates triangle vertices for an isoquant surface in a linear tetrahedron, using the whichplane information supplied by the routine calling this one, and "draws" them using storetri. This is really an internal function, not intended to be called by user programs. It is used by DrawTet and DrawHex.

static inline int DrawTetWithPlane ( PetscScalar x0, PetscScalar y0, PetscScalar z0, PetscScalar f0, PetscScalar x1, PetscScalar y1, PetscScalar z1, PetscScalar f1, PetscScalar x2, PetscScalar y2, PetscScalar z2, PetscScalar f2, PetscScalar x3, PetscScalar y3, PetscScalar z3, PetscScalar f3, PetscScalar isoquant, PetscScalar edge0, PetscScalar edge1, PetscScalar edge3, int whichplane, PetscScalar* color )


\begin{cxrefarglist}
\cxrefargitem{PetscScalar x0} X-coordinate of vertex 0.
\cx...
...rgitem{PetscScalar* color} R,G,B,A quad for this tetrahedron.
\end{cxrefarglist}

inline int DrawTetWithPlane Returns 0 or an error code.



root 2002-06-18