Click or drag to resize
MiVolumeCellGetNodesIndexOfFacet Method
Returns an array containing node indices belonging to a given facet.

Namespace: OIV.MeshVizXLM.Mesh.Cell
Assembly: OIV.MeshVizXLM.Mesh (in OIV.MeshVizXLM.Mesh.dll) Version: 9.9.13.0.Release.908d87e01
Syntax
long[] GetNodesIndexOfFacet(
	int facet,
	long[] facetNodes
)

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: Int64
an 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