Package com.openinventor.meshviz.data
Class PbWedgeCell
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.meshviz.graph.PbBase
-
- com.openinventor.meshviz.data.PbCell
-
- com.openinventor.meshviz.data.PbWedgeCell
-
- All Implemented Interfaces:
java.lang.Cloneable
public class PbWedgeCell extends PbCell implements java.lang.Cloneable
Defines a wedge cell of a volume mesh. A wedge cell has 5 facets which can be in any plane of 3D space. It has 2 triangle facets and 3 quadrangle facets. The 3 first indices define a triangle facet oriented towards the interior of the cell.Facets, nodes, and edges are numbered as follows:
n2 facet 0 = 012 edge 0 = 01 x facet 1 = 354 edge 1 = 12 . / \ facet 2 = 0253 edge 2 = 20 . / \ facet 3 = 1452 edge 3 = 34 . / \ facet 4 = 0341 edge 4 = 45 . / \ edge 5 = 53 n5 / \ edge 6 = 03 x / \ edge 7 = 14 / \ n0 x-------------x n1 edge 8 = 25 / \ . . / \. . / . \ . / . \ . /. \ . n3 x-------------x n4
-
-
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 PbWedgeCell(PbMesh owner_mesh)
Constructor of a default simple cell.PbWedgeCell(PbWedgeCell 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
-
PbWedgeCell
public PbWedgeCell(PbWedgeCell cell)
Copy constructor.
-
PbWedgeCell
public PbWedgeCell(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.
-
-