Expand description
Geometrical objects and manipulations.
Structs§
- Cartesian
Conditions - Structure to handle inequality conditions written in terms of Cartesian coordinates.
- Spherical
Conditions - Structure to handle inequality conditions written in terms of spherical angular coordinates.
- Spherical
Conditions Builder - Builder for
SphericalConditions
.
Enums§
- Improper
Rotation Kind - Enumerated type to classify the type of improper rotation given an angle and axis.
- Positive
Hemisphere - Enumerated type to handle positive hemispheres in Cartesian or spherical conditions.
- Spherical
Conditions Builder Error - Error type for SphericalConditionsBuilder
- Spherical
Coordinate - Enumerated type to handle spherical angular coordinates.
Constants§
Traits§
- Transform
- Geometrical transformability in three dimensions.
Functions§
- check_
regular_ polygon - Checks if a sequence of atoms are vertices of a regular polygon.
- check_
standard_ positive_ pole - Check if a rotation axis is in the standard positive hemisphere.
- get_
proper_ fraction - 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. - get_
standard_ positive_ pole - Returns the standard positive pole of a rotation axis.
- improper_
rotation_ matrix - Returns a $
3 \times 3
$ transformation matrix in $\mathbb{R}^3
$ corresponding to an improper rotation throughangle
aboutaxis
raised to the powerpower
. - normalise_
rotation_ angle - 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. - normalise_
rotation_ fraction - 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. - proper_
rotation_ matrix - Returns a $
3 \times 3
$ rotation matrix in $\mathbb{R}^3
$ corresponding to a rotation throughangle
aboutaxis
raised to the powerpower
.