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, 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))
 

Detailed Description

Unit tests for Rot2 class.

Author
Frank Dellaert

Definition in file testRot2.cpp.

Function Documentation

◆ main()

int main ( )

Definition at line 228 of file testRot2.cpp.

◆ P()

Point2 P ( 0.  2,
0.  7 
)

◆ relativeBearing_()

Rot2 relativeBearing_ ( const Point2 pt)
inline

Definition at line 154 of file testRot2.cpp.

◆ rotate_()

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

Definition at line 127 of file testRot2.cpp.

◆ TEST() [1/16]

TEST ( Rot2  ,
between   
)

Definition at line 70 of file testRot2.cpp.

◆ TEST() [2/16]

TEST ( Rot2  ,
ChartDerivatives   
)

Definition at line 220 of file testRot2.cpp.

◆ TEST() [3/16]

TEST ( Rot2  ,
compose   
)

Definition at line 58 of file testRot2.cpp.

◆ TEST() [4/16]

TEST ( Rot2  ,
constructors_and_angle   
)

Definition at line 32 of file testRot2.cpp.

◆ TEST() [5/16]

TEST ( Rot2  ,
equals   
)

Definition at line 82 of file testRot2.cpp.

◆ TEST() [6/16]

TEST ( Rot2  ,
expmap   
)

Definition at line 90 of file testRot2.cpp.

◆ TEST() [7/16]

TEST ( Rot2  ,
HatAndVee   
)

Definition at line 107 of file testRot2.cpp.

◆ TEST() [8/16]

TEST ( Rot2  ,
Invariants   
)

Definition at line 199 of file testRot2.cpp.

◆ TEST() [9/16]

TEST ( Rot2  ,
LieGroupDerivatives   
)

Definition at line 212 of file testRot2.cpp.

◆ TEST() [10/16]

TEST ( Rot2  ,
logmap   
)

Definition at line 97 of file testRot2.cpp.

◆ TEST() [11/16]

TEST ( Rot2  ,
relativeBearing   
)

Definition at line 155 of file testRot2.cpp.

◆ TEST() [12/16]

TEST ( Rot2  ,
rotate   
)

Definition at line 128 of file testRot2.cpp.

◆ TEST() [13/16]

TEST ( Rot2  ,
transpose   
)

Definition at line 50 of file testRot2.cpp.

◆ TEST() [14/16]

TEST ( Rot2  ,
unit   
)

Definition at line 43 of file testRot2.cpp.

◆ TEST() [15/16]

TEST ( Rot2  ,
unrotate   
)

Definition at line 142 of file testRot2.cpp.

◆ TEST() [16/16]

TEST ( Rot2  ,
vec   
)

Definition at line 178 of file testRot2.cpp.

◆ unrotate_()

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

Definition at line 141 of file testRot2.cpp.

Variable Documentation

◆ R

Rot2 R(Rot2::fromAngle(0.1))


gtsam
Author(s):
autogenerated on Thu Apr 10 2025 03:08:54