Class PbHexahedronCell

All Implemented Interfaces:
Cloneable

public class PbHexahedronCell extends PbCell implements Cloneable
Defines an hexahedron cell of a volume mesh. An hexahedron cell has 6 facets which can be in any plane of the 3D space. Each facet is a quadrangle not necessarily a square. The 4 first indices defines a facet oriented towards the interior of the cell.

Facets, nodes and edges are numbered as following :

                       4-----------7   facet 0 = 0374  edge 0 = 01
                      /|          /|   facet 1 = 1562  edge 1 = 12
                    /  |        /  |   facet 2 = 0451  edge 2 = 23
                  /    |      /    |   facet 3 = 3267  edge 3 = 30
                 5----------6      |   facet 4 = 0123  edge 4 = 45
                 |     |    |      |   facet 5 = 4765  edge 5 = 56
                 |     0----|------3                   edge 6 = 67
                 |    /     |     /                    edge 7 = 74
                 |  /       |   /                      edge 8 = 04
                 |/         | /                        edge 9 = 15
                 1----------2                          edge10 = 26
                                                       edge11 = 37
  • Constructor Details

    • PbHexahedronCell

      public PbHexahedronCell(PbHexahedronCell cell)
      Copy constructor.
    • PbHexahedronCell

      public PbHexahedronCell(PbMesh owner_mesh)
      Constructor of a default simple cell.
  • Method Details

    • clone

      public Object clone()
    • getDerivs

      public float[] getDerivs(SbVec3f pcoord)
      Gets the derivs of a point defined by its parametric coordinates.