Function qsym2::auxiliary::geometry::get_standard_positive_pole
source · pub fn get_standard_positive_pole(
axis: &Vector3<f64>,
thresh: f64,
) -> Vector3<f64>
Expand description
Returns the standard positive pole of a rotation axis.
The definition of standard positive poles 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 (proper or improper).
- thresh - Threshold for comparisons.
§Returns
The positive pole of axis
.
§Panics
Panics if the resulting pole is a null vector.