1 // File: SMDS_MeshHexahedron.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_MeshHexahedron::GetConnections() const
16 return (Standard_Address)&myNodes;
19 //=======================================================================
20 //function : GetConnection
23 //=======================================================================
25 inline Standard_Integer SMDS_MeshHexahedron::GetConnection(const Standard_Integer rank) const
27 return myNodes[rank-1];
30 //=======================================================================
31 //function : ComputKey
32 //purpose : compute theKey of the volume based on the ids of its bounding nodes
34 //=======================================================================
36 inline void SMDS_MeshHexahedron::ComputeKey()
38 // myKey = (myNodes[0]<<8) + (myNodes[1]<<7) + (myNodes[2]<<6) + (myNodes[3]<<5)
39 // +(myNodes[4]<<4) + (myNodes[5]<<3) + (myNodes[6]<<2) + myNodes[7];
40 myKey = myNodes[0] + myNodes[1] + myNodes[2] + myNodes[3]
41 + myNodes[4] + myNodes[5] + myNodes[6] + myNodes[7];
44 //=======================================================================
47 //=======================================================================
49 inline Standard_Integer SMDS_MeshHexahedron::NbEdges() const
54 //=======================================================================
57 //=======================================================================
59 inline Standard_Integer SMDS_MeshHexahedron::NbFaces() const