Go to the documentation of this file.
26 using namespace std::placeholders;
27 using namespace gtsam;
32 static const Point2 P(0.2, 0.7);
33 static const Rot2 R = Rot2::fromAngle(0.3);
34 static const double s = 4;
static int runAllTests(TestResult &result)
Array< double, 1, 3 > e(1./3., 0.5, 2.)
#define GTSAM_CONCEPT_TESTABLE_INST(T)
Concept check for values that can be used in unit tests.
#define EXPECT(condition)
TEST(Similarity2, Concepts)
Implementation of Similarity2 transform.
Some functions to compute numerical derivatives.
#define EXPECT_DOUBLES_EQUAL(expected, actual, threshold)
Rot2 rotation() const
Return a GTSAM rotation.
double scale() const
Return the scale.
bool assert_equal(const Matrix &expected, const Matrix &actual, double tol)
Point2 translation() const
Return a GTSAM translation.
#define GTSAM_CONCEPT_ASSERT(concept)
static const Point2 P(0.2, 0.7)
gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:08:36