public class PbCell extends PbBase
Inventor.ConstructorCommand
VERBOSE_LEVEL, ZeroHandle
Modifier and Type | Method and Description |
---|---|
float |
getArea()
Gets the area of a cell.
|
SbBox3f |
getBoundingBox()
Gets the cell's bounding box.
|
float[] |
getBounds()
Gets the cell's bounds.
|
SbVec3f |
getCenter()
Gets the cell's geometric center.
|
int |
getIndex()
Gets the index of the cell in the mesh.
|
float |
getLongestEdgeLength()
Gets the length of the longest edge of the cell.
|
SbVec3f |
getNodeCoord(int nod)
Gets the coordinate of the nod (nod must be >=0 and <
getNumNodes() ). |
int |
getNodeIndex(int nod)
Gets the index (in the mesh) of a nod (nod must be >=0 and <
getNumNodes() ). |
int |
getNumEdges()
Gets the number of edges.
|
int |
getNumFacets()
Gets the number of facets.
|
int |
getNumNodes()
Gets the number of nodes.
|
float |
getValue(float[] weight,
float[] s)
Gets the scalar value of a point in this cell, given the point's weights.
|
SbVec3f |
getValue(float[] weight,
SbVec3f[] v)
Gets the vector value of a point in this cell, given the point's weights.
|
float |
getValue(SbVec3f pcoord,
float[] s)
Get the scalar value of a point in the cell.
|
SbVec3f |
getValue(SbVec3f pcoord,
SbVec3f[] v)
Get the vector value of a point in the cell.
|
float |
getVolume()
Gets the volume of the cell.
|
SbVec3f |
locatePoint(SbVec3f coord,
float tolerance)
Returns 1 if the point is inside the cell, 0 otherwise.
|
enableConnection, isConnectionEnabled, touch
dispose, getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
public float getLongestEdgeLength()
public float getValue(float[] weight, float[] s)
public SbVec3f getValue(float[] weight, SbVec3f[] v)
public int getNumFacets()
public int getNumNodes()
public int getNumEdges()
public SbVec3f getCenter()
public SbVec3f getNodeCoord(int nod)
getNumNodes()
).public float getVolume()
public int getNodeIndex(int nod)
getNumNodes()
).public float getValue(SbVec3f pcoord, float[] s)
pcoord
- [in] Parametric [0..1] coordinate of the point inside the cell.
s
- [in] The scalar dataset to interpolate
public SbBox3f getBoundingBox()
public SbVec3f getValue(SbVec3f pcoord, SbVec3f[] v)
pcoord
- [in] Parametric [0..1] coordinate of the point inside the cell.
v
- [in] The vector dataset to interpolate
public int getIndex()
public SbVec3f locatePoint(SbVec3f coord, float tolerance)
public float[] getBounds()
getBoundingBox()
but it does not use any SbBox object.public float getArea()
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com