Type Definition rin::math::geometry::UnitComplex [−][src]
type UnitComplex<N> = Unit<Complex<N>>;
A 2D rotation represented as a complex number with magnitude 1.
All the methods specific UnitComplex
are listed here. You may also
read the documentation of the Complex
type which
is used internally and accessible with unit_complex.complex()
.
Construction
- Identity
identity
- From a 2D rotation angle
new
,from_cos_sin_unchecked
… - From an existing 2D matrix or complex number
from_matrix
,rotation_to
,powf
… - From two vectors
rotation_between
,scaled_rotation_between_axis
…
Transformation and composition
- Angle extraction
angle
,angle_to
… - Transformation of a vector or a point
transform_vector
,inverse_transform_point
… - Conjugation and inversion
conjugate
,inverse_mut
… - Interpolation
slerp
…