Module qsym2::auxiliary::geometry

source ·
Expand description

Geometrical objects and manipulations.

Structs§

Enums§

Constants§

  • Inversion-centre improper rotation kind.
  • Mirror-plane improper rotation kind.

Traits§

  • Geometrical transformability in three dimensions.

Functions§

  • Checks if a sequence of atoms are vertices of a regular polygon.
  • Check if a rotation axis is in the standard positive hemisphere.
  • Determines the reduced fraction $k/n$ where $k$ and $n$ are both integers representing a proper rotation $C_n^k$ corresponding to a specified rotation angle.
  • Returns the standard positive pole of a rotation axis.
  • Returns a $3 \times 3$ transformation matrix in $\mathbb{R}^3$ corresponding to an improper rotation through angle about axis raised to the power power.
  • Returns the rotation angle adjusted to be in the interval $(-\pi, +\pi]$ and the number of $2\pi$-folds required to bring the original angle to that interval.
  • Returns the rotation fraction adjusted to be in the interval $(-1/2, +1/2]$ and the number of $1$-folds required to bring the original fraction to that interval.
  • Returns a $3 \times 3$ rotation matrix in $\mathbb{R}^3$ corresponding to a rotation through angle about axis raised to the power power.