Program Listing for File SGal3_properties.h

Return to documentation for file (manif/impl/sgal3/SGal3_properties.h)

#ifndef _MANIF_MANIF_SGAL3_PROPERTIES_H_
#define _MANIF_MANIF_SGAL3_PROPERTIES_H_

#include "manif/impl/traits.h"

namespace manif {

// Forward declaration
template <typename _Derived> struct SGal3Base;
template <typename _Derived> struct SGal3TangentBase;

namespace internal {

template <typename _Derived>
struct LieGroupProperties<SGal3Base<_Derived>> {
  static constexpr int Dim = 3;
  static constexpr int DoF = 10;
};

template <typename _Derived>
struct LieGroupProperties<SGal3TangentBase<_Derived>> {
  static constexpr int Dim = 3;
  static constexpr int DoF = 10;
};

} // namespace internal
} // namespace manif

#endif // _MANIF_MANIF_SGAL3_PROPERTIES_H_