Click or drag to resize

GridReprojectorGridInfo Class

Grid info - defining origin, size and projection of grid
Inheritance Hierarchy
SystemObject
  DHI.ProjectionsGridReprojectorGridInfo

Namespace:  DHI.Projections
Assembly:  DHI.Projections (in DHI.Projections.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public class GridInfo

The GridReprojectorGridInfo type exposes the following members.

Constructors
  NameDescription
Public methodGridReprojectorGridInfo
Initializes a new instance of the GridReprojectorGridInfo class
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldDx
Space between each gridpoint in the x direction
Public fieldDy
Space between each gridpoint in the y direction
Public fieldElementCenterValues
Bool indicating whether the grid is node based (false) or element/cell based (true)

Default is true;

Node based grid means that values are defined in grid line intersection point

Element center based grid means that values are defined in the center of the rectangle bounded by 4 grid lines.

Public fieldLatOrigin
Origin latitude coordinate of local grid coordinates.
Public fieldLonOrigin
Origin longitude coordinate of local grid coordinates.
Public fieldOrientation
Orientation of local grid coordinates. The rotation from true north to the model coordinate y-axis in degrees, measured positive clockwise.
Public fieldOriginInFirstElementCenter
Flag indicating if the projection origin is in the center of the first grid cell (true) or in the lower left corner of the first grid cell (false).

Only applicable when ElementCenterValues is true.

Default is true.

Public fieldProjectionString
A string in the WKT format for a spatial reference system, or one of the abbreviations
Public fieldX0
Relative offset to origin in the x direction
Public fieldXCount
Number of data points in the x direction
Public fieldY0
Relative offset to origin in the y direction
Public fieldYCount
Number of data points in the y direction
Top
See Also