Click or drag to resize
CIMUStatWindow Method
Calculate grid statistics in a window

Available since Oasis montaj version: 5.0.5
License: Available to anyone with an Oasis Montaj license.  

Namespace: GeoEngine.Core.GXNetX
Assembly: geoengine.core.gxnetx (in geoengine.core.gxnetx.dll)
Notes
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.
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
)

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
See Also