spreadmax

Result = spreadmax(points, initialfrictiondist, friction, max_distance)
points

spatial boolean, nominal, ordinal

initialfrictiondist

spatial, non spatial scalar

friction

spatial, non spatial scalar

max_distance

spatial, non spatial scalar

Result

spatial scalar

Operation

Identical to spread but with a fourth parameter, a maximum spread distance. Areas that are not reached are given the value MV.

Examples