struct mp2p_icp::NearestCellCapable::CellRef

Overview

What a map cell offers to a matcher, already in the map frame.

#include <NearestCellCapable.h>

struct CellRef
{
    // fields

    mrpt::math::TPoint3Df mean;
    float cov[6] = {0, 0, 0, 0, 0, 0};
    mrpt::math::TVector3Df normal {0, 0, 1};
    float thickness2 = 0;
    CellModel model = CellModel::Inactive;
};

Fields

mrpt::math::TPoint3Df mean

Mean of the points in the cell [m].

float cov[6] = {0, 0, 0, 0, 0, 0}

Unbiased covariance of the points [m^2], symmetric, stored as its upper triangle: xx, xy, xz, yy, yz, zz.

mrpt::math::TVector3Df normal {0, 0, 1}

Unit normal: the direction of the smallest eigenvalue. Meaningful for planes only.

float thickness2 = 0

Smallest eigenvalue of cov, the squared plane thickness [m^2]. Meaningful for planes only.