MiVolumeCellGetIsosurfTopology Method |
Returns an array containing the topological polygons defining the part of
the isosurface topology in this cell.
Namespace: OIV.MeshVizXLM.Mesh.CellAssembly: OIV.MeshVizXLM.Mesh (in OIV.MeshVizXLM.Mesh.dll) Version: 9.9.13.0.Release.908d87e01
Syntaxint[] GetIsosurfTopology(
int caseId,
int[] edges
)
Function GetIsosurfTopology (
caseId As Integer,
edges As Integer()
) As Integer()
array<int>^ GetIsosurfTopology(
int caseId,
array<int>^ edges
)
abstract GetIsosurfTopology :
caseId : int *
edges : int[] -> int[]
Parameters
- caseId
- Type: SystemInt32
the isosurf "marching cube" entry for this cell. This is the value
returned by getMarchingCaseId
- edges
- Type: SystemInt32
The array into which the node indices defining the isosurf
topology in this cell are to be stored if its length is large
enough; otherwise, a new array is allocated for this purpose. New
pairs of node ids are stored into the array, each pair of nodes
must correspond to an edge of the cell which is cut by the
isosurface. An edge is cut by the isosurface when the two nodes of
the edge have different signs. The pair of nodes must be correctly
ordered to define a non manifold polygon. When the isosurface part
is made up of several polygons, each polygon must be separated by
OIV.MeshVizXLM.MxMeshViz.END_LIST
. The end of
the polygons list must be indicated by a pair of
OIV.MeshVizXLM.MxMeshViz.END_LIST
.
Return Value
Type:
Int32
an array containing the topological polygons defining the part of
the isosurface topology in this cell. The function may return null
only for polyhedral cells.
Remarks
Returns an array containing the topological polygons defining the part of
the isosurface topology in this cell.
This method is used during isosurface and slice extraction on an
unstructured mesh (for instance
com.openinventor.meshvizxlm.mapping.nodes.MoMeshPlaneSlice
,
com.openinventor.meshvizxlm.mapping.nodes.MoMeshIsosurface
,
com.openinventor.meshvizxlm.extractors.isosurf.MiIsosurfExtractUnstructured
). Static implementations are provided for the most common basic volume
cells:
-
See
com.openinventor.meshvizxlm.extractors.cell.MxHexahedronCellExtract#getIsosurfTopology(int,int[])
-
See
com.openinventor.meshvizxlm.extractors.cell.MxTetrahedronCellExtract#getIsosurfTopology(int,int[])
-
See
com.openinventor.meshvizxlm.extractors.cell.MxWedgeCellExtract#getIsosurfTopology(int,int[])
-
See
com.openinventor.meshvizxlm.extractors.cell.MxPyramidCellExtract#getIsosurfTopology(int,int[])
If the specified array is large enough to contain the number of node
indices to be returned, they are returned therein. Otherwise, a new array
is allocated.
See Also