Template Struct SO2

Inheritance Relationships

Base Type

Struct Documentation

template<typename _Scalar>
struct SO2 : public manif::SO2Base<SO2<_Scalar>>

Represents an element of SO2.

Public Functions

SO2() = default
~SO2() = default
MANIF_COPY_CONSTRUCTOR (SO2) MANIF_MOVE_CONSTRUCTOR(SO2) template< typename _DerivedOther > SO2(const LieGroupBase< _DerivedOther > &o)
MANIF_GROUP_ASSIGN_OP (SO2) SO2(const Scalar real

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.

Throws:

manif::invalid_argument – on un-normalized complex number.

SO2(const Scalar theta)

Constructor given an angle (rad.)

DataType &coeffs()

Get a const reference to the underlying DataType.

const DataType &coeffs() const

Public Members

const Scalar imag

Protected Attributes

DataType data_