Click or drag to resize

DfsuUtilCalculateElementCenterCoordinates Method

For each element, calculates the element center coordinate as the average of all node coordinates of the nodes in each element.

Namespace:  DHI.Generic.MikeZero.DFS.dfsu
Assembly:  DHI.Generic.MIKEZero.DFS (in DHI.Generic.MIKEZero.DFS.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public static void CalculateElementCenterCoordinates(
	this IDfsuFile dfsuFile,
	out double[] xArr,
	out double[] yArr,
	out double[] zArr
)

Parameters

dfsuFile
Type: DHI.Generic.MikeZero.DFS.dfsuIDfsuFile
xArr
Type: SystemDouble
yArr
Type: SystemDouble
zArr
Type: SystemDouble

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IDfsuFile. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also