Click or drag to resize

Dfs2Reprojector Constructor (IDfs2File, Boolean, Boolean, String)

Create a new DFS2 grid reprojector object

Namespace:  DHI.Generic.MikeZero.DFS.dfs123
Assembly:  DHI.Generic.MIKEZero.DFS (in DHI.Generic.MIKEZero.DFS.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public Dfs2Reprojector(
	IDfs2File dfs2Source,
	bool elementCenterValues,
	bool originInFirstElementCenter,
	string targetFilename
)

Parameters

dfs2Source
Type: DHI.Generic.MikeZero.DFS.dfs123IDfs2File
DFS2 source file
elementCenterValues
Type: SystemBoolean
Bool indicating whether the dfs2 file grid is node based (false) or element/cell based (true)
originInFirstElementCenter
Type: SystemBoolean
Flag indicating if the projection origin in the dfs2 file is in the center of the first grid cell (true) or in the lower left corner of the first grid cell (false). Not applicable when elementCenterValues is false.
targetFilename
Type: SystemString
Name of target file
See Also