template struct mrpt::math::internal::ProvideStaticResize

Overview

Provided for STL and matrices/vectors compatibility.

#include <mrpt/math/TPoseOrPoint.h>

template <typename Derived>
struct ProvideStaticResize
{
    // methods

    void resize(std::size_t n);
};

// direct descendants

struct TPose2D;
struct TPose3D;
struct TPose3DQuat;
struct TTwist2D;
struct TTwist3D;

Methods

void resize(std::size_t n)

throws if attempted to resize to incorrect length