geometry.basic_utils.
normalize_length_or_zero
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.