Dfs2Reprojector Class |
The source grid may not be a regular grid in the target coordinate system, so re-gridding and interpolation is necessary.
Namespace: DHI.Generic.MikeZero.DFS.dfs123
The Dfs2Reprojector type exposes the following members.
Name | Description | |
---|---|---|
![]() | Dfs2Reprojector(IDfs2File, String) |
Create a new DFS2 grid reprojector object
|
![]() | Dfs2Reprojector(IDfs2File, Boolean, Boolean, String) |
Create a new DFS2 grid reprojector object
|
Name | Description | |
---|---|---|
![]() | Interpolate |
Bool specifying whether to interpolate (true) or take the closest value (false, default)
|
![]() | OutsideValue |
Value to set in target grid outside source grid, i.e. where target includes areas that are not covered by the source.
Default using the delete value of source file but can be overruled by a user defined value. |
![]() | Reprojector |
The reprojector class that is performing the reprojecting
from one coordinate system to the other.
Any datum conversion parameters must be specified directly to the Reprojector Available after calls to the any of the SetTarget methods. |
Name | Description | |
---|---|---|
![]() | Equals | (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | Process |
Process the dfs2 source file, creating target dfs2 file
|
![]() | SetTarget(String, Double) |
Define target projection string, and orientation (towards projection north).
All other properties of the target GridInfo is calculated from the bounding box of source grid in the target local grid coordinate system. |
![]() | SetTarget(String, Double, Int32, Int32) |
Define target projection string, orientation (towards projection north), and number of grid points
in the x and y direction in the target.
All other properties of the target GridInfo is calculated from the bounding box of source grid in the target local grid coordinate sysetm. |
![]() | SetTarget(String, Double, Double, Double, Int32, Double, Double, Int32, Double, Double) |
Fully specify the target gridinfo.
|
![]() | SetTarget(String, Double, Double, Double, Int32, Double, Double, Int32, Double, Double, Boolean, Boolean) |
Fully specify the target gridinfo, including whether grid is node-based or element/cell-center based and
where the origin of the projection is.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |