1 // File: SMDS_MeshPyramid.lxx
2 // Created: Thu Jan 24 17:06:47 2002
3 // Author: Jean-Michel BOULCOURT
4 // <jmb@coulox.paris1.matra-dtv.fr>
8 //=======================================================================
9 //function : GetConnections
12 //=======================================================================
14 inline Standard_Address SMDS_MeshPyramid::GetConnections() const
16 return (Standard_Address)&myNodes;
19 //=======================================================================
20 //function : GetConnection
23 //=======================================================================
25 inline Standard_Integer SMDS_MeshPyramid::GetConnection(const Standard_Integer rank) const
27 return myNodes[rank-1];
30 //=======================================================================
31 //function : ComputeKey
32 //purpose : compute the Key of the volume based on the ids of its bounding nodes
34 //=======================================================================
36 inline void SMDS_MeshPyramid::ComputeKey()
38 // myKey = (myNodes[0]<<4) + (myNodes[1]<<3) + (myNodes[2]<<2) + (myNodes[3]<<1) + myNodes[4];
39 myKey = myNodes[0] + myNodes[1] + myNodes[2] + myNodes[3] + myNodes[4];
42 //=======================================================================
45 //=======================================================================
47 inline Standard_Integer SMDS_MeshPyramid::NbEdges() const
52 //=======================================================================
55 //=======================================================================
57 inline Standard_Integer SMDS_MeshPyramid::NbFaces() const