Skip to content

Commit

Permalink
Remove deprecated methods in surface module
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioRAgostinho committed Nov 12, 2017
1 parent 19ac42d commit 07c1493
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 19 deletions.
5 changes: 0 additions & 5 deletions surface/include/pcl/surface/concave_hull.h
Original file line number Diff line number Diff line change
Expand Up @@ -132,11 +132,6 @@ namespace pcl
{
keep_information_ = value;
}

/** \brief Returns the dimensionality (2 or 3) of the calculated hull. */
PCL_DEPRECATED ("[pcl::ConcaveHull::getDim] This method is deprecated. Please use getDimension () instead.")
int
getDim () const;

/** \brief Returns the dimensionality (2 or 3) of the calculated hull. */
inline int
Expand Down
10 changes: 0 additions & 10 deletions surface/include/pcl/surface/impl/concave_hull.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,16 +55,6 @@
#include <stdlib.h>
#include <pcl/surface/qhull.h>

//////////////////////////////////////////////////////////////////////////
/** \brief Get dimension of concave hull
* \return dimension
*/
template <typename PointInT> int
pcl::ConcaveHull<PointInT>::getDim () const
{
return (getDimension ());
}

//////////////////////////////////////////////////////////////////////////
template <typename PointInT> void
pcl::ConcaveHull<PointInT>::reconstruct (PointCloud &output)
Expand Down
4 changes: 0 additions & 4 deletions test/surface/test_concave_hull.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -122,10 +122,6 @@ TEST (PCL, ConcaveHull_planar_bunny)
PointCloud<PointXYZ> hull_3d;
concave_hull_3d.reconstruct (hull_3d);

#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
EXPECT_EQ (concave_hull_3d.getDim (), 3); // test for PCL_DEPRECATED
#pragma GCC diagnostic pop
EXPECT_EQ (concave_hull_3d.getDimension (), 3);

ModelCoefficients::Ptr plane_coefficients (new ModelCoefficients ());
Expand Down

0 comments on commit 07c1493

Please sign in to comment.