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.dfsuAssembly: DHI.Generic.MikeZero.DFS (in DHI.Generic.MikeZero.DFS.dll) Version: 16.0.0.0 (11.1.1.1111)
Syntax public static void CalculateElementCenterCoordinates(
this IDfsuFile dfsuFile,
out double[] xArr,
out double[] yArr,
out double[] zArr
)
<ExtensionAttribute>
Public Shared Sub CalculateElementCenterCoordinates (
dfsuFile As IDfsuFile,
<OutAttribute> ByRef xArr As Double(),
<OutAttribute> ByRef yArr As Double(),
<OutAttribute> ByRef zArr As Double()
)
public:
[ExtensionAttribute]
static void CalculateElementCenterCoordinates(
IDfsuFile^ dfsuFile,
[OutAttribute] array<double>^% xArr,
[OutAttribute] array<double>^% yArr,
[OutAttribute] array<double>^% zArr
)
[<ExtensionAttribute>]
static member CalculateElementCenterCoordinates :
dfsuFile : IDfsuFile *
xArr : float[] byref *
yArr : float[] byref *
zArr : float[] byref -> unit
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