31     const vector<TPolygon3D>& oldPolys, vector<TPolygonWithPlane>& newPolys)
    33     size_t N = oldPolys.size();
    35     for (
size_t i = 0; i < N; i++) newPolys[i] = oldPolys[i];
 A compile-time fixed-size numeric matrix container. 
 
mrpt::math::TPose3D inversePose
Plane's inverse pose. 
 
void fromHomogeneousMatrix(const mrpt::math::CMatrixDouble44 &HG)
 
void getAsPose3D(mrpt::math::TPose3D &outPose) const
 
This base provides a set of functions for maths stuff. 
 
void unsafeProjectPolygon(const TPolygon3D &poly, const TPose3D &pose, TPolygon2D &newPoly)
 
TPolygon3D poly
Actual polygon. 
 
TPolygon2D poly2D
Polygon, after being projected to the plane using inversePose. 
 
void getBestFittingPlane(TPlane &p) const
Gets the best fitting plane, disregarding whether the polygon actually fits inside or not...
 
TPolygonWithPlane()=default
Basic constructor. 
 
mrpt::math::TPose3D pose
Plane's pose. 
 
void getInverseHomogeneousMatrix(mrpt::math::CMatrixDouble44 &HG) const
 
static void getPlanes(const std::vector< TPolygon3D > &oldPolys, std::vector< TPolygonWithPlane > &newPolys)
Static method for vectors. 
 
TPlane plane
Plane containing the polygon. 
 
3D polygon, inheriting from std::vector<TPoint3D>