MiVolumeCellGetNodesIndexOfFacet Method |
Returns an array containing node indices belonging to a given facet.
Namespace: OIV.MeshVizXLM.Mesh.CellAssembly: OIV.MeshVizXLM.Mesh (in OIV.MeshVizXLM.Mesh.dll) Version: 9.9.13.0.Release.908d87e01
Syntaxlong[] GetNodesIndexOfFacet(
int facet,
long[] facetNodes
)
Function GetNodesIndexOfFacet (
facet As Integer,
facetNodes As Long()
) As Long()
array<long long>^ GetNodesIndexOfFacet(
int facet,
array<long long>^ facetNodes
)
abstract GetNodesIndexOfFacet :
facet : int *
facetNodes : int64[] -> int64[]
Parameters
- facet
- Type: SystemInt32
The index of the facet (where
0 <= facet < getNumFacets
).
- facetNodes
- Type: SystemInt64
The array into which the node indices of the facet are to be
stored if its length is equals to the number of node indices to be
returned; otherwise, a new array is allocated for this purpose.
Return Value
Type:
Int64an array containing the node indices of the facet.
Remarks
Returns an array containing node indices belonging to a given facet.
If the specified array length is equals to the number of node indices to be
returned, they are returned therein. Otherwise, a new array is allocated.
For instance an implementation of this method for a linear tetrahedron cell
like the following one
<img src=
/docFiles/TetrahedronFaceNodes.png
alt="facetNodes of the pink face of these tetrahedra" align=center>
should return an array filled by = {node0,node2,node3} if the facet
argument corresponds to the pink one (Provided that
MiCell.GetNodeIndex(int)
follows this tetrahedron node numbering.)
See Also