 | CPGUrMaximumTerrainSteepness Method |
Compute the Maximum Steepness of a topography Pager
Namespace:
Geosoft.Desktop.GXNet
Assembly:
geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2024.2.0.25
Syntaxpublic static double rMaximumTerrainSteepness(
CPG pg,
int annular_size
)
public static double rMaximumTerrainSteepness(
CPG pg,
int annular_size
)
Public Shared Function rMaximumTerrainSteepness (
pg As CPG,
annular_size As Integer
) As Double
Public Shared Function rMaximumTerrainSteepness (
pg As CPG,
annular_size As Integer
) As Double
public:
static double rMaximumTerrainSteepness(
CPG^ pg,
int annular_size
)
public:
static double rMaximumTerrainSteepness(
CPG^ pg,
int annular_size
)
static member rMaximumTerrainSteepness :
pg : CPG *
annular_size : int -> float
static member rMaximumTerrainSteepness :
pg : CPG *
annular_size : int -> float
Parameters
- pg
- Type: GeoEngine.Core.GXNetCPG
Topography Pager - annular_size
- Type: SystemInt32
Annular Size
Return Value
Type:
DoubleMaximum 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