DfsuUtilFindTopLayerElements Method (Int32) |
Find element indices (zero based9 of the elements being the upper-most element
in its column.
Each column is identified by matching node id numbers. For 3D elements the
last half of the node numbers of the bottom element must match the first half
of the node numbers in the top element. For 2D vertical elements the order of
the node numbers in the bottom element (last half number of nodes) are reversed
compared to those in the top element (first half number of nodes).
Namespace: DHI.Generic.MikeZero.DFS.dfsuAssembly: DHI.Generic.MikeZero.DFS (in DHI.Generic.MikeZero.DFS.dll) Version: 16.0.0.0 (11.1.1.1111)
Syntax public static IList<int> FindTopLayerElements(
int[][] elementTable
)
Public Shared Function FindTopLayerElements (
elementTable As Integer()()
) As IList(Of Integer)
public:
static IList<int>^ FindTopLayerElements(
array<array<int>^>^ elementTable
)
static member FindTopLayerElements :
elementTable : int[][] -> IList<int>
Parameters
- elementTable
- Type: SystemInt32
Return Value
Type:
IListInt32A list of element indices of top layer elements
Remarks
To find the number of elements in each column, assuming the result
is stored in res:
For the first column it is res[0]+1.
For the i'th column, it is res[i]-res[i-1].
See Also