Class PbPyramidCell

  • All Implemented Interfaces:
    java.lang.Cloneable

    public class PbPyramidCell
    extends PbCell
    implements java.lang.Cloneable
    Defines a pyramid cell of a volume mesh. A pyramid cell has 5 facets which can be in any plane of 3D space. It has 4 triangle facets and 1 quadrangle facet. The 4 first indices define the base quadrangle facet oriented towards the interior of the cell.

    Facets, nodes and edges are numbered as follows:

                   n4
                   x                           facet 0 = 0123  edge 0 = 01
                  /| \ .                       facet 1 = 041   edge 1 = 12
                 / |  \   .                    facet 2 = 142   edge 2 = 23
                /  |   \     .                 facet 3 = 243   edge 3 = 30
               /   |    \       .              facet 4 = 340   edge 4 = 04
              /    |     \         .                           edge 5 = 14
             /  n3 x------\----------x n2                      edge 6 = 24
            /    '         \       '                           edge 7 = 34
           /  '             \   '
       n0 x------------------x n1
    • Constructor Detail

      • PbPyramidCell

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

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

      • clone

        public java.lang.Object clone()
      • getDerivs

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