![](../icons/Help.png) | CPGUrMaximumTerrainSteepness Method |
Compute the Maximum Steepness of a topography Pager
Available since Oasis montaj version: 7.1.0
License: Available to anyone with an Oasis Montaj license.
Namespace: Geosoft.Desktop.GXNetAssembly: geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll)
Notes
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.
Syntaxpublic static double rMaximumTerrainSteepness(
CPG oPG1,
int i2
)
Public Shared Function rMaximumTerrainSteepness (
oPG1 As CPG,
i2 As Integer
) As Double
public:
static double rMaximumTerrainSteepness(
CPG^ oPG1,
int i2
)
static member rMaximumTerrainSteepness :
oPG1 : CPG *
i2 : int -> float
Parameters
- oPG1
- Type: GeoEngine.Core.GXNetCPG
Topography Pager - i2
- Type: SystemInt32
Annular Size
Return Value
Type:
DoubleMaximum Terrain Steepness Computation.
See Also