Function qsym2::auxiliary::geometry::check_standard_positive_pole

source ·
pub fn check_standard_positive_pole(axis: &Vector3<f64>, thresh: f64) -> bool
Expand description

Check if a rotation axis is in the standard positive hemisphere.

The definition of the standard positive hemisphere can be found in S.L. Altmann, Rotations, Quaternions, and Double Groups (Dover Publications, Inc., New York, 2005) (Chapter 9).

§Arguments

  • axis - An axis of rotation.
  • thresh - Threshold for comparisons.

§Returns

Returns true if axis is in the positive hemisphere.

§Panics

Panics if the axis is a null vector.