geometry.basic_utils.normalize_length_or_zero

geometry.basic_utils.normalize_length_or_zero = <function normalize_length_or_zero>[source]

Normalize an array such that it has unit length in the given norm; if the norm is close to zero, the zero vector is returned.