From 86aafd49fef4b87eb28897f64daaf5686a0e542b Mon Sep 17 00:00:00 2001 From: Ignacio Vizzo Date: Sat, 20 Jul 2024 09:34:42 +0100 Subject: [PATCH] put back whitespaces --- cpp/kiss_icp/core/VoxelUtils.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cpp/kiss_icp/core/VoxelUtils.hpp b/cpp/kiss_icp/core/VoxelUtils.hpp index fee257a9..580a2521 100644 --- a/cpp/kiss_icp/core/VoxelUtils.hpp +++ b/cpp/kiss_icp/core/VoxelUtils.hpp @@ -28,12 +28,14 @@ #include namespace kiss_icp { + using Voxel = Eigen::Vector3i; inline Voxel PointToVoxel(const Eigen::Vector3d &point, const double voxel_size) { return Voxel(static_cast(std::floor(point.x() / voxel_size)), static_cast(std::floor(point.y() / voxel_size)), static_cast(std::floor(point.z() / voxel_size))); } + /// Voxelize a point cloud keeping the original coordinates std::vector VoxelDownsample(const std::vector &frame, const double voxel_size);