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, between) | |
| TEST (Rot2, ChartDerivatives) | |
| TEST (Rot2, compose) | |
| TEST (Rot2, constructors_and_angle) | |
| TEST (Rot2, equals) | |
| TEST (Rot2, expmap) | |
| TEST (Rot2, HatAndVee) | |
| TEST (Rot2, Invariants) | |
| TEST (Rot2, LieGroupDerivatives) | |
| TEST (Rot2, logmap) | |
| TEST (Rot2, relativeBearing) | |
| TEST (Rot2, rotate) | |
| TEST (Rot2, transpose) | |
| TEST (Rot2, unit) | |
| TEST (Rot2, unrotate) | |
| TEST (Rot2, vec) | |
| Point2 | unrotate_ (const Rot2 &R, const Point2 &p) |
Variables | |
| Rot2 | R (Rot2::fromAngle(0.1)) |
Unit tests for Rot2 class.
Definition in file testRot2.cpp.
| int main | ( | ) |
Definition at line 228 of file testRot2.cpp.
| Point2 P | ( | 0. | 2, |
| 0. | 7 | ||
| ) |
Definition at line 154 of file testRot2.cpp.
Definition at line 127 of file testRot2.cpp.
| TEST | ( | Rot2 | , |
| between | |||
| ) |
Definition at line 70 of file testRot2.cpp.
| TEST | ( | Rot2 | , |
| ChartDerivatives | |||
| ) |
Definition at line 220 of file testRot2.cpp.
| TEST | ( | Rot2 | , |
| compose | |||
| ) |
Definition at line 58 of file testRot2.cpp.
| TEST | ( | Rot2 | , |
| constructors_and_angle | |||
| ) |
Definition at line 32 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 | , |
| HatAndVee | |||
| ) |
Definition at line 107 of file testRot2.cpp.
| TEST | ( | Rot2 | , |
| Invariants | |||
| ) |
Definition at line 199 of file testRot2.cpp.
| TEST | ( | Rot2 | , |
| LieGroupDerivatives | |||
| ) |
Definition at line 212 of file testRot2.cpp.
| TEST | ( | Rot2 | , |
| logmap | |||
| ) |
Definition at line 97 of file testRot2.cpp.
| TEST | ( | Rot2 | , |
| relativeBearing | |||
| ) |
Definition at line 155 of file testRot2.cpp.
| TEST | ( | Rot2 | , |
| rotate | |||
| ) |
Definition at line 128 of file testRot2.cpp.
| TEST | ( | Rot2 | , |
| transpose | |||
| ) |
Definition at line 50 of file testRot2.cpp.
| TEST | ( | Rot2 | , |
| unit | |||
| ) |
Definition at line 43 of file testRot2.cpp.
| TEST | ( | Rot2 | , |
| unrotate | |||
| ) |
Definition at line 142 of file testRot2.cpp.
| TEST | ( | Rot2 | , |
| vec | |||
| ) |
Definition at line 178 of file testRot2.cpp.
Definition at line 141 of file testRot2.cpp.
| Rot2 R(Rot2::fromAngle(0.1)) |