public class PbGrid2D extends PbMesh2D
The values on the mesh nodes are defined by the PbMesh.addValuesSet()
method, where val argument is an array of num_x * num_y floats.
PbMesh2D.ExtrapolationMethods
PbMesh.CellBox, PbMesh.ContainingCell, PbMesh.CoordinatesInfo, PbMesh.DataBindings
Inventor.ConstructorCommand
USE_ADJACENT_DERIVS, USE_ADJACENT_VALUES
VERBOSE_LEVEL, ZeroHandle
Modifier and Type | Method and Description |
---|---|
int[] |
getCellIndices(int cell_index)
Calculates indices i,j that verify cell_index = i*(num_y-1) + j.
|
int[] |
getDim()
Gets the dimensions num_x, num_y of the grid.
|
SbVec3f |
getNodeCoord(int i,
int j)
Gets the coordinates of a node defined by its i,j indices on the grid.
|
int[] |
getNodeIndices(int nod_index)
Calculates indices i,j that verify nod_index = i*num_y + j.
|
void |
setGeometry(int num_x,
int num_y,
float[] x,
float[] y)
Defines a 2D surface mesh geometry.
|
void |
setGeometry(int num_x,
int num_y,
float[] x,
float[] y,
float[] z)
Defines a 3D surface mesh geometry.
|
addVecsSet, addVecsSet, get2DBoundingBox, getFaultMesh
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 void setGeometry(int num_x, int num_y, float[] x, float[] y)
public int[] getNodeIndices(int nod_index)
public int[] getDim()
public SbVec3f getNodeCoord(int i, int j)
public void setGeometry(int num_x, int num_y, float[] x, float[] y, float[] z)
public int[] getCellIndices(int cell_index)
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com