plane_patch.h
Go to the documentation of this file.
1 /* -------------------------------------------------------------------------
2  * A repertory of multi primitive-to-primitive (MP2P) ICP algorithms in C++
3  * Copyright (C) 2018-2024 Jose Luis Blanco, University of Almeria
4  * See LICENSE for license information.
5  * ------------------------------------------------------------------------- */
12 #pragma once
13 
14 #include <mrpt/math/TPlane.h>
15 #include <mrpt/math/TPoint3D.h>
16 
17 namespace mp2p_icp
18 {
23 {
24  mrpt::math::TPlane plane;
25  mrpt::math::TPoint3D centroid;
26 
27  plane_patch_t() = default;
29  const mrpt::math::TPlane3D& pl, const mrpt::math::TPoint3D& center)
30  : plane(pl), centroid(center)
31  {
32  }
33 };
34 
37 } // namespace mp2p_icp
mp2p_icp
Definition: covariance.h:17
mp2p_icp::plane_patch_t::centroid
mrpt::math::TPoint3D centroid
Definition: plane_patch.h:25
mp2p_icp::plane_patch_t::plane_patch_t
plane_patch_t()=default
mp2p_icp::plane_patch_t::plane_patch_t
plane_patch_t(const mrpt::math::TPlane3D &pl, const mrpt::math::TPoint3D &center)
Definition: plane_patch.h:28
mp2p_icp::plane_patch_t
Definition: plane_patch.h:22
mp2p_icp::plane_patch_t::plane
mrpt::math::TPlane plane
Definition: plane_patch.h:24


mp2p_icp
Author(s):
autogenerated on Wed Oct 23 2024 02:45:40