Click or drag to resize

CIMUStatWindow Method

Calculate grid statistics in a window

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

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

Parameters

img
Type: GeoEngine.Core.GXNetCIMG
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.GXNetCST
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