Click or drag to resize

GridReprojector Methods

The GridReprojector type exposes the following members.

Methods
  NameDescription
Public methodConvert
Convert source data to target data
Public methodConvertBitmapData
NOTE: Experimental!

Convert source data to target data, assuming source and target are 32 bit bitmap data.

When defining source and target grid, remember they must include the proper "scan width" (single row of pixels), which may be larger than the width of the bitmap image.

Currently only supports top-down bitmaps.

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 methodInitialize
Initialize; calculate target grid info (if necessary), set up internal structures for fast processing of reprojections and interpolations.
Public methodInitialize(Boolean)
Initialize; calculate target grid info (if necessary), set up internal structures for fast processing of reprojections and interpolations.

If only one conversion is required, set the oneTimeConvert to true, to skip setting up of internal structures. Currently only applicable if using the ConvertBitmapData(Byte, Byte) method.

Public methodSetTarget(GridReprojectorGridInfo)
Fully specify the target gridinfo
Public methodSetTarget(String, Double)
Define target projection string, and orientation (towards projection north).

All other properties of the target GridInfo is calculated (during Initialize) from the bounding box of source grid in the target local grid coordinate system, such that the target contains the entire area defined by the source GridInfo.

Public methodSetTarget(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 (during Initialize) from the bounding box of source grid in the target local grid coordinate system such that the target contains the entire area defined by the source GridInfo.

Compared to SetTarget(String, Double), this version will change the resolution of the target grid in the x and y direction.

Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also