Click or drag to resize

CIMUDecimateCrookedSectionGrid Method

Decimate a crooked section grid.

Namespace:  GeoEngine.Core.GXNet
Assembly:  geoengine.core.gxnet (in geoengine.core.gxnet.dll) Version: 2024.2.0.25
Syntax
public static void DecimateCrookedSectionGrid(
	CIMG img,
	int dec_X,
	int dec_y,
	string out
)

public static void DecimateCrookedSectionGrid(
	CIMG img,
	int dec_X,
	int dec_y,
	string out
)

Parameters

img
Type: GeoEngine.Core.GXNetCIMG
Input grid IMG
dec_X
Type: SystemInt32
:def:Decimation factor along section (>=1)
dec_y
Type: SystemInt32
:def:Decimation factor down section (>=1)
out
Type: SystemString
File name of output grid
Remarks
For decimation factor N, every MN'th value is selected for M = 0, 1, 2, ... The full distance is recalculated based on the remaining points because it will almost certainly be smaller.
See Also