Unit tests for Rot2 class. More...
#include <gtsam/geometry/Rot2.h>
#include <gtsam/base/Testable.h>
#include <gtsam/base/testLie.h>
#include <CppUnitLite/TestHarness.h>
Go to the source code of this file.
Functions | |
int | main () |
Point2 | P (0.2, 0.7) |
Rot2 | relativeBearing_ (const Point2 &pt) |
Point2 | rotate_ (const Rot2 &R, const Point2 &p) |
TEST (Rot2, constructors_and_angle) | |
TEST (Rot2, unit) | |
TEST (Rot2, transpose) | |
TEST (Rot2, compose) | |
TEST (Rot2, between) | |
TEST (Rot2, equals) | |
TEST (Rot2, expmap) | |
TEST (Rot2, logmap) | |
TEST (Rot2, rotate) | |
TEST (Rot2, unrotate) | |
TEST (Rot2, relativeBearing) | |
TEST (Rot2, Invariants) | |
TEST (Rot2, LieGroupDerivatives) | |
TEST (Rot2, ChartDerivatives) | |
Point2 | unrotate_ (const Rot2 &R, const Point2 &p) |
Variables | |
Rot2 | R (Rot2::fromAngle(0.1)) |
Rot2 | T1 (0.1) |
Rot2 | T2 (0.2) |
Unit tests for Rot2 class.
Definition in file testRot2.cpp.
int main | ( | void | ) |
Definition at line 200 of file testRot2.cpp.
Point2 P | ( | 0. | 2, |
0. | 7 | ||
) |
Definition at line 135 of file testRot2.cpp.
Definition at line 108 of file testRot2.cpp.
TEST | ( | Rot2 | , |
constructors_and_angle | |||
) |
Definition at line 32 of file testRot2.cpp.
TEST | ( | Rot2 | , |
unit | |||
) |
Definition at line 43 of file testRot2.cpp.
TEST | ( | Rot2 | , |
transpose | |||
) |
Definition at line 50 of file testRot2.cpp.
TEST | ( | Rot2 | , |
compose | |||
) |
Definition at line 58 of file testRot2.cpp.
TEST | ( | Rot2 | , |
between | |||
) |
Definition at line 70 of file testRot2.cpp.
Definition at line 82 of file testRot2.cpp.
TEST | ( | Rot2 | , |
expmap | |||
) |
Definition at line 90 of file testRot2.cpp.
TEST | ( | Rot2 | , |
logmap | |||
) |
Definition at line 97 of file testRot2.cpp.
TEST | ( | Rot2 | , |
rotate | |||
) |
Definition at line 109 of file testRot2.cpp.
TEST | ( | Rot2 | , |
unrotate | |||
) |
Definition at line 123 of file testRot2.cpp.
TEST | ( | Rot2 | , |
relativeBearing | |||
) |
Definition at line 136 of file testRot2.cpp.
TEST | ( | Rot2 | , |
Invariants | |||
) |
Definition at line 163 of file testRot2.cpp.
TEST | ( | Rot2 | , |
LieGroupDerivatives | |||
) |
Definition at line 179 of file testRot2.cpp.
TEST | ( | Rot2 | , |
ChartDerivatives | |||
) |
Definition at line 190 of file testRot2.cpp.
Definition at line 122 of file testRot2.cpp.
Rot2 R(Rot2::fromAngle(0.1)) |
Rot2 T1(0.1) |
Rot2 T2(0.2) |