Package com.openinventor.meshviz.data
Class PbPolarGrid2D
- 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.PbPolarGrid2D
-
- All Implemented Interfaces:
java.lang.Cloneable
public class PbPolarGrid2D extends PbGrid2D implements java.lang.Cloneable
Defines a polar grid surface mesh. Class to define a surface mesh represented by a grid with polar coordinates. This mesh is defined by a matrix num_r * num_t points forming (num_r - 1) * (num_t - 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). r is an array of num_r radius, t an array of num_t angles, and z an array of num_r * num_t 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_r * num_t 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 PbPolarGrid2D()
Calls PbPolarGrid2D(true).PbPolarGrid2D(boolean isDataDuplicate)
Constructor of a default simple mesh.PbPolarGrid2D(int num_r, int num_t, float[] r, float[] t)
Calls PbPolarGrid2D(num_r, num_t, r, t, true).PbPolarGrid2D(int num_r, int num_t, float[] r, float[] t, boolean isDataDuplicate)
Constructor of a 2D surface mesh.PbPolarGrid2D(int num_r, int num_t, float[] r, float[] t, float[] z)
Calls PbPolarGrid2D(num_r, num_t, r, t, z, true).PbPolarGrid2D(int num_r, int num_t, float[] r, float[] t, float[] z, boolean isDataDuplicate)
Constructor of a 3D surface mesh.PbPolarGrid2D(PbPolarGrid2D 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
-
PbPolarGrid2D
public PbPolarGrid2D()
Calls PbPolarGrid2D(true).
-
PbPolarGrid2D
public PbPolarGrid2D(int num_r, int num_t, float[] r, float[] t, float[] z)
Calls PbPolarGrid2D(num_r, num_t, r, t, z, true).
-
PbPolarGrid2D
public PbPolarGrid2D(int num_r, int num_t, float[] r, float[] t)
Calls PbPolarGrid2D(num_r, num_t, r, t, true).
-
PbPolarGrid2D
public PbPolarGrid2D(PbPolarGrid2D mesh)
Copy constructor.
-
PbPolarGrid2D
public PbPolarGrid2D(boolean isDataDuplicate)
Constructor of a default simple mesh. See alsoPbMesh
for more explanations about data duplication.
-
PbPolarGrid2D
public PbPolarGrid2D(int num_r, int num_t, float[] r, float[] t, float[] z, boolean isDataDuplicate)
Constructor of a 3D surface mesh. See alsoPbMesh
for more explanations about data duplication.
-
PbPolarGrid2D
public PbPolarGrid2D(int num_r, int num_t, float[] r, float[] t, boolean isDataDuplicate)
Constructor of a 2D surface mesh. See alsoPbMesh
for more explanations about data duplication.
-
-