Click or drag to resize

CIMUStatWindow Method

Calculate grid statistics in a window

Namespace:  GeoEngine.Core.GXNetX
Assembly:  geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntax
public static void StatWindow(
	CGXNETCore gxNetShared,
	CIMG img,
	double min_x,
	double min_y,
	double max_x,
	double max_y,
	int max,
	CST st
)

public static void StatWindow(
	CGXNETCore gxNetShared,
	CIMG img,
	double min_x,
	double min_y,
	double max_x,
	double max_y,
	int max,
	CST st
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
img
Type: GeoEngine.Core.GXNetXCIMG
Name of the grid to get stats from
min_x
Type: SystemDouble
Min X window
min_y
Type: SystemDouble
Min Y window
max_x
Type: SystemDouble
Max X window
max_y
Type: SystemDouble
Max Y window
max
Type: SystemInt32
Maximum values needed, 0 for all
st
Type: GeoEngine.Core.GXNetXCST
ST object, stats are accumulated
Remarks
The maximum values needed will beused to decimate the sampling of the grid in order to improve performance. 100000 is often a good number when absolute precision is not required.
See Also