Skip to content

Commit

Permalink
Fix incorrect doc
Browse files Browse the repository at this point in the history
  • Loading branch information
themightyoarfish committed Jan 28, 2024
1 parent d548d51 commit 0a00e10
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions filters/include/pcl/filters/voxel_grid_occlusion_estimation.h
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ namespace pcl
const Eigen::Vector4f& direction,
const float t_min);

/** \brief Returns a rounded value.
/** \brief Returns a value rounded to the nearest integer
* \param[in] d
* \return rounded value
*/
Expand All @@ -226,8 +226,7 @@ namespace pcl
return static_cast<float> (std::floor (d + 0.5f));
}

// We use round here instead of std::floor due to some numerical issues.
/** \brief Returns the corresponding (i,j,k) coordinates in the grid of point (x,y,z).
/** \brief Returns the corresponding (i,j,k) coordinates in the grid of point (x,y,z).
* \param[in] x the X point coordinate to get the (i, j, k) index at
* \param[in] y the Y point coordinate to get the (i, j, k) index at
* \param[in] z the Z point coordinate to get the (i, j, k) index at
Expand Down

0 comments on commit 0a00e10

Please sign in to comment.