Accumulated Cost (Anisotropic)

Copyrights (c) 2004 by Victor Olaya
(c) 2004 by Victor Olaya. Calculate Accumulated Cost (Anisotropic)

Parameters

Grid system
Grid system
Grid system
Cost Grid
Input Grid
Direction of max cost
Input Grid
Direction of max cost for each cell. In degrees
Destination Points
Input Grid
Accumulated Cost
Output Grid
k factor
Floating point
Efective friction = stated friction ^f , where f = cos(DifAngle)^k.
Threshold for different route
Floating point