Package com.openinventor.meshviz.data
Class PbParalCartesianGrid2D
- 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
-
- com.openinventor.meshviz.data.PbParalCartesianGrid2D
-
- All Implemented Interfaces:
java.lang.Cloneable
public class PbParalCartesianGrid2D extends PbCartesianGrid2D implements java.lang.Cloneable
Defines a parallel cartesian grid surface mesh. Class to define a surface mesh represented by a grid, with cartesian coordinates, of which the lines are parallel to X-axis or Y-axis. This mesh is defined by num_y vertical lines and num_x horizontal lines. x is an array of num_x floats, and y is an array of num_y floats.The values on the mesh nodes are defined by the PbMesh.addValuesSet(set_index,val) 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
Constructors Constructor Description PbParalCartesianGrid2D()
Calls PbParalCartesianGrid2D(true).PbParalCartesianGrid2D(boolean isDataDuplicate)
Constructor of a default simple mesh.PbParalCartesianGrid2D(int num_x, int num_y, float[] x, float[] y)
Calls PbParalCartesianGrid2D(num_x, num_y, x, y, true).PbParalCartesianGrid2D(int num_x, int num_y, float[] x, float[] y, boolean isDataDuplicate)
Constructor of a 2D parallel grid mesh.PbParalCartesianGrid2D(int num_x, int num_y, float[] x, float[] y, float[] z)
Calls PbParalCartesianGrid2D(num_x, num_y, x, y, z, true).PbParalCartesianGrid2D(int num_x, int num_y, float[] x, float[] y, float[] z, boolean isDataDuplicate)
Constructor of a 3D parallel grid mesh.PbParalCartesianGrid2D(PbParalCartesianGrid2D mesh)
Copy constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
clone()
-
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 Detail
-
PbParalCartesianGrid2D
public PbParalCartesianGrid2D()
Calls PbParalCartesianGrid2D(true).
-
PbParalCartesianGrid2D
public PbParalCartesianGrid2D(int num_x, int num_y, float[] x, float[] y, float[] z)
Calls PbParalCartesianGrid2D(num_x, num_y, x, y, z, true).
-
PbParalCartesianGrid2D
public PbParalCartesianGrid2D(int num_x, int num_y, float[] x, float[] y)
Calls PbParalCartesianGrid2D(num_x, num_y, x, y, true).
-
PbParalCartesianGrid2D
public PbParalCartesianGrid2D(PbParalCartesianGrid2D mesh)
Copy constructor.
-
PbParalCartesianGrid2D
public PbParalCartesianGrid2D(boolean isDataDuplicate)
Constructor of a default simple mesh. See alsoPbMesh
for more explanations about data duplication.
-
PbParalCartesianGrid2D
public PbParalCartesianGrid2D(int num_x, int num_y, float[] x, float[] y, float[] z, boolean isDataDuplicate)
Constructor of a 3D parallel grid mesh. See alsoPbMesh
for more explanations about data duplication.
-
PbParalCartesianGrid2D
public PbParalCartesianGrid2D(int num_x, int num_y, float[] x, float[] y, boolean isDataDuplicate)
Constructor of a 2D parallel grid mesh. See alsoPbMesh
for more explanations about data duplication.
-
-
Method Detail
-
clone
public java.lang.Object clone()
- Overrides:
clone
in classPbCartesianGrid2D
-
-