# Gradient Vector from Cartesian to Polar Coordinates

Victor Olaya & Volker Wichmann (c) 2004-2010
Converts gradient vector from directional components (Cartesian) to polar coordinates (direction or aspect angle and length or tangens of slope).
The module supports three conventions on how to measure and output the angle of direction:
(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

Grid system
Grid system
  Grid system
X Component
Input Grid
Y Component
Input Grid
Direction
Output Grid
Length
Output Grid
Polar Angle Units
Choice
  Available choices: radians, degree
Polar Coordinate System
Choice
  Available choices: mathematical, geographical, user defined
User defined Zero Direction
Floating point
  given in degree clockwise from North direction
  Maximum: 360.0
User defined Orientation
Choice
  Available choices: clockwise, counterclockwise