Click or drag to resize

CIMUDecimateCrookedSectionGrid Method

Decimate a crooked section grid.

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

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

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
img
Type: GeoEngine.Core.GXNetXCIMG
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