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, between)
 
 TEST (Rot2, ChartDerivatives)
 
 TEST (Rot2, compose)
 
 TEST (Rot2, constructors_and_angle)
 
 TEST (Rot2, equals)
 
 TEST (Rot2, expmap)
 
 TEST (Rot2, Invariants)
 
 TEST (Rot2, LieGroupDerivatives)
 
 TEST (Rot2, logmap)
 
 TEST (Rot2, relativeBearing)
 
 TEST (Rot2, rotate)
 
 TEST (Rot2, transpose)
 
 TEST (Rot2, unit)
 
 TEST (Rot2, unrotate)
 
Point2 unrotate_ (const Rot2 &R, const Point2 &p)
 

Variables

Rot2 R (Rot2::fromAngle(0.1))
 

Detailed Description

Unit tests for Rot2 class.

Author
Frank Dellaert

Definition in file testRot2.cpp.

Function Documentation

◆ main()

int main ( )

Definition at line 195 of file testRot2.cpp.

◆ P()

Point2 P ( 0.  2,
0.  7 
)

◆ relativeBearing_()

Rot2 relativeBearing_ ( const Point2 pt)
inline

Definition at line 135 of file testRot2.cpp.

◆ rotate_()

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

Definition at line 108 of file testRot2.cpp.

◆ TEST() [1/14]

TEST ( Rot2  ,
between   
)

Definition at line 70 of file testRot2.cpp.

◆ TEST() [2/14]

TEST ( Rot2  ,
ChartDerivatives   
)

Definition at line 187 of file testRot2.cpp.

◆ TEST() [3/14]

TEST ( Rot2  ,
compose   
)

Definition at line 58 of file testRot2.cpp.

◆ TEST() [4/14]

TEST ( Rot2  ,
constructors_and_angle   
)

Definition at line 32 of file testRot2.cpp.

◆ TEST() [5/14]

TEST ( Rot2  ,
equals   
)

Definition at line 82 of file testRot2.cpp.

◆ TEST() [6/14]

TEST ( Rot2  ,
expmap   
)

Definition at line 90 of file testRot2.cpp.

◆ TEST() [7/14]

TEST ( Rot2  ,
Invariants   
)

Definition at line 166 of file testRot2.cpp.

◆ TEST() [8/14]

TEST ( Rot2  ,
LieGroupDerivatives   
)

Definition at line 179 of file testRot2.cpp.

◆ TEST() [9/14]

TEST ( Rot2  ,
logmap   
)

Definition at line 97 of file testRot2.cpp.

◆ TEST() [10/14]

TEST ( Rot2  ,
relativeBearing   
)

Definition at line 136 of file testRot2.cpp.

◆ TEST() [11/14]

TEST ( Rot2  ,
rotate   
)

Definition at line 109 of file testRot2.cpp.

◆ TEST() [12/14]

TEST ( Rot2  ,
transpose   
)

Definition at line 50 of file testRot2.cpp.

◆ TEST() [13/14]

TEST ( Rot2  ,
unit   
)

Definition at line 43 of file testRot2.cpp.

◆ TEST() [14/14]

TEST ( Rot2  ,
unrotate   
)

Definition at line 123 of file testRot2.cpp.

◆ unrotate_()

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

Definition at line 122 of file testRot2.cpp.

Variable Documentation

◆ R

Rot2 R(Rot2::fromAngle(0.1))


gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:09:54