gtsam
base
lieProxies.h
Go to the documentation of this file.
1
/* ----------------------------------------------------------------------------
2
3
* GTSAM Copyright 2010, Georgia Tech Research Corporation,
4
* Atlanta, Georgia 30332-0415
5
* All Rights Reserved
6
* Authors: Frank Dellaert, et al. (see THANKS for the full author list)
7
8
* See LICENSE for the license information
9
10
* -------------------------------------------------------------------------- */
11
18
#pragma once
19
20
#include <
gtsam/global_includes.h
>
21
31
namespace
gtsam
{
32
namespace
testing
{
33
35
template
<
class
T>
36
T
between
(
const
T
& t1,
const
T
& t2) {
return
t1.between(t2); }
37
38
template
<
class
T>
39
T
compose
(
const
T
& t1,
const
T
& t2) {
return
t1.compose(t2); }
40
42
template
<
class
T>
43
T
inverse
(
const
T
&
t
) {
return
t
.inverse(); }
44
46
template
<
class
T,
class
P>
47
P
rotate
(
const
T
& r,
const
P
&
pt
) {
return
r.rotate(
pt
); }
48
49
template
<
class
T,
class
P>
50
P
unrotate
(
const
T
& r,
const
P
&
pt
) {
return
r.unrotate(
pt
); }
51
52
}
// \namespace testing
53
}
// \namespace gtsam
54
55
testing
Definition:
benchmark.h:20
global_includes.h
Included from all GTSAM files.
pt
static const Point3 pt(1.0, 2.0, 3.0)
gtsam::testing::inverse
T inverse(const T &t)
Definition:
lieProxies.h:43
Eigen::Triplet
A small structure to hold a non zero as a triplet (i,j,value).
Definition:
SparseUtil.h:162
gtsam
traits
Definition:
SFMdata.h:40
gtsam::testing::compose
T compose(const T &t1, const T &t2)
Definition:
lieProxies.h:39
gtsam::testing::between
T between(const T &t1, const T &t2)
Definition:
lieProxies.h:36
P
static double P[]
Definition:
ellpe.c:68
gtsam::testing::unrotate
P unrotate(const T &r, const P &pt)
Definition:
lieProxies.h:50
align_3::t
Point2 t(10, 10)
gtsam::testing::rotate
P rotate(const T &r, const P &pt)
Definition:
lieProxies.h:47
gtsam
Author(s):
autogenerated on Fri Nov 1 2024 03:33:07