Package com.openinventor.meshviz.data
Class PbCartesianGrid2D
java.lang.Object
com.openinventor.inventor.Inventor
com.openinventor.meshviz.graph.PbBase
com.openinventor.meshviz.data.PbMesh
com.openinventor.meshviz.data.PbMesh2D
com.openinventor.meshviz.data.PbGrid2D
com.openinventor.meshviz.data.PbCartesianGrid2D
- All Implemented Interfaces:
Cloneable
- Direct Known Subclasses:
PbParalCartesianGrid2D
Defines a cartesian grid surface mesh.
Class to define a mesh represented by a grid with cartesian coordinates. This mesh is defined by a matrix num_x * num_y points forming (num_x - 1) * (num_y - 1) quadrangles. Each point with index (i, j) in the mesh (except for points along the mesh border) is connected to four points with indices (i+1,j), (i,j+1), (i-1,j), (i,j-1). x, y and z are array of num_x * num_y floats.
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.openinventor.meshviz.data.PbMesh2D
PbMesh2D.ExtrapolationMethods
Nested classes/interfaces inherited from class com.openinventor.meshviz.data.PbMesh
PbMesh.CellBox, PbMesh.ContainingCell, PbMesh.CoordinatesInfo, PbMesh.DataBindings
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
ConstructorsConstructorDescriptionCalls PbCartesianGrid2D(true).PbCartesianGrid2D
(boolean is_data_duplicated) Constructor of a default simple mesh.PbCartesianGrid2D
(int num_x, int num_y, float[] x, float[] y) Calls PbCartesianGrid2D(num_x, num_y, x, y, true).PbCartesianGrid2D
(int num_x, int num_y, float[] x, float[] y, boolean is_data_duplicated) Constructor of a 2D surface mesh.PbCartesianGrid2D
(int num_x, int num_y, float[] x, float[] y, float[] z) Calls PbCartesianGrid2D(num_x, num_y, x, y, z, true).PbCartesianGrid2D
(int num_x, int num_y, float[] x, float[] y, float[] z, boolean is_data_duplicated) Constructor of a 3D surface mesh.PbCartesianGrid2D
(PbCartesianGrid2D name_52) Copy constructor. -
Method Summary
Methods inherited from class com.openinventor.meshviz.data.PbGrid2D
getCellIndices, getDim, getNodeCoord, getNodeIndices, setGeometry, setGeometry
Methods inherited from class com.openinventor.meshviz.data.PbMesh2D
addVecsSet, addVecsSet, get2DBoundingBox, getFaultMesh
Methods inherited from class com.openinventor.meshviz.data.PbMesh
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
Methods inherited from class com.openinventor.meshviz.graph.PbBase
enableConnection, isConnectionEnabled, touch
Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
Constructor Details
-
PbCartesianGrid2D
public PbCartesianGrid2D()Calls PbCartesianGrid2D(true). -
PbCartesianGrid2D
public PbCartesianGrid2D(int num_x, int num_y, float[] x, float[] y, float[] z) Calls PbCartesianGrid2D(num_x, num_y, x, y, z, true). -
PbCartesianGrid2D
public PbCartesianGrid2D(int num_x, int num_y, float[] x, float[] y) Calls PbCartesianGrid2D(num_x, num_y, x, y, true). -
PbCartesianGrid2D
public PbCartesianGrid2D(boolean is_data_duplicated) Constructor of a default simple mesh. See alsoPbMesh
for more explanations about data duplication. -
PbCartesianGrid2D
public PbCartesianGrid2D(int num_x, int num_y, float[] x, float[] y, float[] z, boolean is_data_duplicated) Constructor of a 3D surface mesh. See alsoPbMesh
for more explanations about data duplication. -
PbCartesianGrid2D
Copy constructor. -
PbCartesianGrid2D
public PbCartesianGrid2D(int num_x, int num_y, float[] x, float[] y, boolean is_data_duplicated) Constructor of a 2D surface mesh. See alsoPbMesh
for more explanations about data duplication.
-
-
Method Details
-
clone
-