AspectFunction

A class for an aspect raster function.

Base Type: RasterFunction

Remarks

Calculates the Aspect values for an elevation model. Aspect values identify the downslope direction of the maximum rate of change in value from each cell to its neighbors. Aspect can be thought of as the slope direction. The values of the output raster will be the compass direction of the aspect.

The AspectFunction takes no arguments and there is no need to set the VariableName of the RenderingRule object.

Examples

C#

RenderingRule renderRule = new RenderingRule();

AspectFunction function = new AspectFunction();

renderRule.Function = function;

geoImgDesc.RenderingRule = renderRule;

11/8/2016