math.ddir.from.normal

Syntax

f = math.ddir.from.normal(v)

Get the dip direction. This is the dip direction in radians of the plane with normal v, where v must be a 3D vector.

Returns:f - dip direction in radians
Arguments:v - normal to the plane