Tool NameGradient Vector from Polar to Cartesian Coordinates
Tool ID16
Library IDgrid_calculus
Version1.0
Author(s)Victor Olaya & Volker Wichmann (c) 2004-2010

Description

Converts gradient vector from polar coordinates (direction or aspect angle and length or tangens of slope) to directional components (Cartesian).
The tool supports three conventions on how the angle of direction can be supplied:
(a) mathematical: direction angle is zero in East direction and the angle increases counterclockwise
(b) geographical: direction angle is zero in North direction and the angle increases clockwise
(c) zero direction and orientation are user defined

Parameters

NameTypeIdentifierDescriptionConstraints
Input
Directiongrid, inputDIR
Lengthgrid, inputLEN
Output
X Componentgrid, outputDX
Y Componentgrid, outputDY
Options
Polar Angle UnitschoiceUNITSAvailable Choices:
[0] radians
[1] degree
Default: 0
Polar Coordinate SystemchoiceSYSTEMAvailable Choices:
[0] mathematical
[1] geographical
[2] user defined
Default: 1
User defined Zero Directionfloating point numberSYSTEM_ZEROgiven in degree clockwise from North directionMinimum: 0.000000
Maximum: 360.000000
Default: 0.000000
User defined OrientationchoiceSYSTEM_ORIENTAvailable Choices:
[0] clockwise
[1] counterclockwise
Default: 0