template<typename _Scalar>
manif::SO2 struct

Represents an element of SO2.

Base classes

template<typename _Derived>
struct SO2Base<SO2<_Scalar>>
The base class of the SO2 group.

Constructors, destructors, conversion operators

SO2() defaulted
~SO2() defaulted
template<typename _DerivedOther>
SO2(const LieGroupBase<_DerivedOther>& o)
SO2(const Scalar real, const Scalar imag)
Constructor given the real and imaginary part of a unit complex number representing the angle.
SO2(const Scalar theta)
Constructor given an angle (rad.)

Public functions

auto coeffs() -> DataType&
Get a const reference to the underlying DataType.
auto coeffs() const -> const DataType&

Protected variables

DataType data_

Function documentation

template<typename _Scalar>
manif::SO2<_Scalar>::SO2(const Scalar real, const Scalar imag)

Constructor given the real and imaginary part of a unit complex number representing the angle.

Parameters
real in The real of a unitary complex number.
imag in The imaginary of a unitary complex number.
Exceptions
manif::invalid_argument on un-normalized complex number.