Main Page   Class Hierarchy   Compound List   Header Files   Compound Members  

ddgMSTri Class Reference

The information in this class is the same for each TBinTree and can be computed once (and stored) and can be shared amoung all TBinTrees. More...

#include <ddgtmesh.h>

List of all members.


Public Members

Edge edge (void)
If this is not zero, the neighbour is in another TBinTree. More...

unsigned int row
Our position on the height grid.

unsigned int col
ddgTriIndex v0
The indices of the 2 other vertices which are a part of this triangle. More...

ddgTriIndex v1
ddgTriIndex neighbour
Index of the merge diamond which is our neighbour. More...


Detailed Description

The information in this class is the same for each TBinTree and can be computed once (and stored) and can be shared amoung all TBinTrees.


Member Function Documentation

Edge ddgMSTri::edge (void) [inline]

If this is not zero, the neighbour is in another TBinTree.

the flag indicates which neighbour tree the edge is in. 0 - inner, 1 - top, 2 - left, 3 - diag.


Member Data Documentation

ddgTriIndex ddgMSTri::v0

The indices of the 2 other vertices which are a part of this triangle.

The 3rd vertex is our own index in the mesh.

ddgTriIndex ddgMSTri::v1

The 3rd vertex is our own index in the mesh.

ddgTriIndex ddgMSTri::neighbour

Index of the merge diamond which is our neighbour.

If we are on an edge, this may be in another TBinTree, and the neighbour field will indicate which one.


The documentation for this class was generated from the following file:
Generated at Sun Sep 17 19:27:54 2000 for Digital Dawn Graphics Toolkit by doxygen 0.49-991205 written by Dimitri van Heesch, © 1997-1999