GridInterpolatorProj2Jk Method
Convert coordinates from projection easting-northing coordinates
to fractional indices in the source grid. The fractional
indices can be used directly in the
Interpolate(Single, Double, Double, Single)
method.
For a 3 x 2 element/cell based grid,
(j,k) is in the range [0;3] x [0;2].
For a 3 x 2 node based grid,
(j,k) is in the range [0;2] x [0;1].
Namespace: DHI.ProjectionsAssembly: DHI.Projections (in DHI.Projections.dll) Version: 24.0.0.0 (11.1.1.1111)
public bool Proj2Jk(
double east,
double north,
out double j,
out double k
)
member Proj2Jk :
east : float *
north : float *
j : float byref *
k : float byref -> bool
- east Double
- Projection easting/x coordinate
- north Double
- Projection northing/y coordinate
- j Double
- Fractional j index (x-axis)
- k Double
- Fractional k index (y-axis)
Booleantrue if inside source grid, false if outside