Functions | Variables
testRot2.cpp File Reference

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>
Include dependency graph for testRot2.cpp:

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)
 

Detailed Description

Unit tests for Rot2 class.

Author
Frank Dellaert

Definition in file testRot2.cpp.

Function Documentation

int main ( void  )

Definition at line 200 of file testRot2.cpp.

Point2 P ( 0.  2,
0.  7 
)
Rot2 relativeBearing_ ( const Point2 pt)
inline

Definition at line 135 of file testRot2.cpp.

Point2 rotate_ ( const Rot2 R,
const Point2 p 
)
inline

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.

TEST ( Rot2  ,
equals   
)

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.

Point2 unrotate_ ( const Rot2 R,
const Point2 p 
)
inline

Definition at line 122 of file testRot2.cpp.

Variable Documentation

Rot2 R(Rot2::fromAngle(0.1))
Rot2 T1(0.1)
Rot2 T2(0.2)


gtsam
Author(s):
autogenerated on Sat May 8 2021 02:51:42