template class mrpt::containers::CDynamicGrid

Overview

A 2D grid of dynamic size which stores any kind of data at each cell.

Parameters:

T

The type of each cell in the 2D grid.

#include <mrpt/containers/CDynamicGrid.h>

template <class T>
class CDynamicGrid
{
public:
    // construction

    CDynamicGrid(
        double x_min = -10.,
        double x_max = 10.,
        double y_min = -10.,
        double y_max = 10.,
        double resolution = 0.1
        );
};

// direct descendants

class CCollisionGrid;
class CHeightGridMap2D;
class CRandomFieldGridMap2D;
class CReflectivityGridMap2D;

Construction

CDynamicGrid(
    double x_min = -10.,
    double x_max = 10.,
    double y_min = -10.,
    double y_max = 10.,
    double resolution = 0.1
    )

Constructor.