All Cadcorp SIS API Methods

CreateGradientGrid Method

Description

Creates a 'slope' Grid from the currently open TIN as gradients between 0 and a value greater than 100%.

100% equals a slope of 45 degrees.

Slopes greater than 45 degrees will have a value larger than 100%. In theory the gradient becomes infinite as the slope nears 90 degrees. In practice the maximum value in SIS is 3276.7%.

Syntax

Visual Basic
Public Function CreateGradientGrid( _
   ByVal list As String, _
   ByVal resolution As Double _
) As Integer

Parameters

list
The named list containing only TIN items for which the Gradient Grid will be created.
 
resolution
The resolution or cell size at which the grid will be created.

Remarks

In a Gradient Grid the value of each cell is the angle of slope, in percent from 0 to greater than 100% (3276.7% is the practical limit).

Available: GEO  OD SISpy

Group:

Example

sis.CreateGradientGrid("MyTINs", 1.0)