Click or drag to resize

CPGUrMaximumTerrainSteepness Method

Compute the Maximum Steepness of a topography Pager

Namespace:  Geosoft.Desktop.GXNetX
Assembly:  geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll) Version: 2025.1.0.25
Syntax
public static double rMaximumTerrainSteepness(
	CGXNETCore gxNetShared,
	CPG pg,
	int annular_size
)

public static double rMaximumTerrainSteepness(
	CGXNETCore gxNetShared,
	CPG pg,
	int annular_size
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
pg
Type: GeoEngine.Core.GXNetXCPG
Topography Pager
annular_size
Type: SystemInt32
Annular Size

Return Value

Type: Double
Maximum Terrain Steepness Computation.
Remarks
Calculates forward-looking slopes SX and SY in the X and Y directions using pager locations (ix, iy), (ix+size, iy), (ix, iy+isize) and returns SX*SX + SY*SY. The values in the last "size" rows and columns are not processed. The wrapper was created for testing and development purposes.
See Also