public class PbGrid3D extends PbMesh3D
The values on the mesh nodes are defined by the PbMesh.addValuesSet()
method, where argument val is an array of num_x * num_y * num_z floats.
PbMesh.CellBox, PbMesh.ContainingCell, PbMesh.CoordinatesInfo, PbMesh.DataBindings
Inventor.ConstructorCommand
VERBOSE_LEVEL, ZeroHandle
Modifier and Type | Method and Description |
---|---|
int[] |
getCellIndices(int cell_index)
Calculates indices i,j,k that verify cell_index = (i*(num_y-1) + j)*(num_z-1) + k.
|
int[] |
getDim()
Gets the dimensions num_x, num_y, num_z of the grid.
|
SbVec3f |
getNodeCoord(int i,
int j,
int k)
Gets the coordinates of a node defined by its i,j,k indices on the grid.
|
int[] |
getNodeIndices(int nod_index)
Calculates indices i,j,k that verify (i*num_y + j)*num_z + k.
|
void |
setGeometry(int num_x,
int num_y,
int num_z,
float[] x,
float[] y,
float[] z)
Defines a volume mesh geometry.
|
addStringsSet, addStringsSet, addValuesSet, addValuesSet, addValuesSet, addValuesSet, addVecsSet, addVecsSet, findContainingCell, findContainingCell, getArea, getBiggestCellBox, getBoundingBox, getCell, getCoordinates, getDirectValuesSet, getDirectVecsSet, getMaxValuesSet, getMaxVecsSet, getMinValuesSet, getMinVecsSet, getNodeCoord, getNumCells, getNumNodes, getNumStringsSet, getNumValuesSet, getNumVecsSet, getSmallestCellBox, getStringsSetName, getValuesBinding, getValuesSet, getValuesSetName, getVecsSet, getVecsSetName, getVolume, isDataDuplicated, removeAllStringsSet, removeAllValuesSet, removeAllVecsSet, removeStringsSet, removeValuesSet, removeVecsSet, setCoordinates
enableConnection, isConnectionEnabled, touch
dispose, getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
public SbVec3f getNodeCoord(int i, int j, int k)
public int[] getNodeIndices(int nod_index)
public int[] getDim()
public int[] getCellIndices(int cell_index)
public void setGeometry(int num_x, int num_y, int num_z, float[] x, float[] y, float[] z)
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com