Package com.openinventor.meshviz.data
Class PbPyramidCell
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.meshviz.graph.PbBase
-
- com.openinventor.meshviz.data.PbCell
-
- com.openinventor.meshviz.data.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
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
-
Field Summary
-
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
-
Constructor Summary
Constructors Constructor Description PbPyramidCell(PbMesh owner_mesh)
Constructor of a default simple cell.PbPyramidCell(PbPyramidCell cell)
Copy constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
clone()
float[]
getDerivs(SbVec3f pcoord)
Returns the derivs of a point defined by its parametric coordinates.-
Methods inherited from class com.openinventor.meshviz.data.PbCell
getArea, getBoundingBox, getBounds, getCenter, getIndex, getLongestEdgeLength, getNodeCoord, getNodeIndex, getNumEdges, getNumFacets, getNumNodes, getValue, getValue, getValue, getValue, getVolume, locatePoint
-
Methods inherited from class com.openinventor.meshviz.graph.PbBase
enableConnection, isConnectionEnabled, touch
-
Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
-
-
-
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.
-
-