Global Namespace

Overview

// namespaces

namespace Eigen;
namespace Sophus;

// macros

#define SOPHUS_DEDAULT_ENSURE_FAILURE_IMPL( \
    function, \
    file, \
    line, \
    description, \
    ... \
    )

#define SOPHUS_ENSURE( \
    expr, \
    ... \
    )

#define SOPHUS_FMT_CSTR( \
    description, \
    ... \
    )

#define SOPHUS_FMT_PRINT( \
    description, \
    ... \
    )

#define SOPHUS_FMT_STR( \
    description, \
    ... \
    )

#define SOPHUS_FMT_STRING(x)
#define SOPHUS_FUNC
#define SOPHUS_FUNCTION
#define SOPHUS_STRINGIFY(x)

#define SOPHUS_TEST( \
    passed, \
    condition, \
    descr, \
    ... \
    )

#define SOPHUS_TEST_APPROX( \
    passed, \
    left, \
    right, \
    thr, \
    descr, \
    ... \
    )

#define SOPHUS_TEST_EQUAL( \
    passed, \
    left, \
    right, \
    descr, \
    ... \
    )

#define SOPHUS_TEST_NEQ( \
    passed, \
    left, \
    right, \
    descr, \
    ... \
    )

#define SOPHUS_TEST_NOT_APPROX( \
    passed, \
    left, \
    right, \
    thr, \
    descr, \
    ... \
    )

Detailed Documentation

Macros

#define SOPHUS_TEST(passed, condition, descr, ...)

Tests whether condition is true. The in-out parameter passed will be set to false if test fails.

#define SOPHUS_TEST_APPROX(passed, left, right, thr, descr, ...)

Tests whether left is approximately equal to right given a threshold. The in-out parameter passed will be set to false if test fails.

#define SOPHUS_TEST_EQUAL(passed, left, right, descr, ...)

Tests whether left is equal to right given a threshold. The in-out parameter passed will be set to false if test fails.

#define SOPHUS_TEST_NEQ(passed, left, right, descr, ...)

Tests whether left is equal to right given a threshold. The in-out parameter passed will be set to false if test fails.

#define SOPHUS_TEST_NOT_APPROX(passed, left, right, thr, descr, ...)

Tests whether left is NOT approximately equal to right given a threshold. The in-out parameter passed will be set to false if test fails.