Class PbVoxelCell

  • All Implemented Interfaces:
    java.lang.Cloneable

    public class PbVoxelCell
    extends PbCell
    implements java.lang.Cloneable
    Defines a voxel cell of a volume mesh. A voxel is a parallelepipede of which faces are orthogonal to X, Y, Z axes. Each facet is a rectangle 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
                 /|          /|       k            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
            |     |    |      |       ....... j    facet 5 = 4765  edge 5 = 56
            |     0----|------3      .                             edge 6 = 67
            |    /     |     /      .                              edge 7 = 74
            |  /       |   /       .                               edge 8 = 04
            |/         | /        i                                edge 9 = 15
            1----------2                                           edge10 = 26
                                                                   edge11 = 37
    
    This numerotation must be respected to have the right result returned by getVolume().(i.e. edge 01 on Xaxis, edge 12 on Yaxis, edge 26 on Zaxis)
    • Constructor Detail

      • PbVoxelCell

        public PbVoxelCell​(PbVoxelCell cell)
        Copy constructor.
      • PbVoxelCell

        public PbVoxelCell​(PbMesh owner_mesh)
        Constructor of a default simple cell.
    • Method Detail

      • clone

        public java.lang.Object clone()