Skip to content

Commit

Permalink
Merge pull request #2074 from SergioRAgostinho/unused-params-warn
Browse files Browse the repository at this point in the history
Suppress unused parameter warning
  • Loading branch information
taketwo authored Nov 11, 2017
2 parents 7acc1e0 + b5e2560 commit f556104
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions filters/include/pcl/filters/impl/box_clipper3D.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ pcl::BoxClipper3D<PointT>::clipPoint3D (const PointT& point) const
* @attention untested code
*/
template<typename PointT> bool
pcl::BoxClipper3D<PointT>::clipLineSegment3D (PointT& point1, PointT& point2) const
pcl::BoxClipper3D<PointT>::clipLineSegment3D (PointT&, PointT&) const
{
/*
PointT pt1, pt2;
Expand Down Expand Up @@ -165,6 +165,7 @@ pcl::BoxClipper3D<PointT>::clipLineSegment3D (PointT& point1, PointT& point2) co
return true;
}
*/
throw std::logic_error ("Not implemented");
return false;
}

Expand All @@ -173,10 +174,11 @@ pcl::BoxClipper3D<PointT>::clipLineSegment3D (PointT& point1, PointT& point2) co
* @attention untested code
*/
template<typename PointT> void
pcl::BoxClipper3D<PointT>::clipPlanarPolygon3D (const std::vector<PointT, Eigen::aligned_allocator<PointT> >& polygon, std::vector<PointT, Eigen::aligned_allocator<PointT> >& clipped_polygon) const
pcl::BoxClipper3D<PointT>::clipPlanarPolygon3D (const std::vector<PointT, Eigen::aligned_allocator<PointT> >&, std::vector<PointT, Eigen::aligned_allocator<PointT> >& clipped_polygon) const
{
// not implemented -> clip everything
clipped_polygon.clear ();
throw std::logic_error ("Not implemented");
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Expand All @@ -188,6 +190,7 @@ pcl::BoxClipper3D<PointT>::clipPlanarPolygon3D (std::vector<PointT, Eigen::align
{
// not implemented -> clip everything
polygon.clear ();
throw std::logic_error ("Not implemented");
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Expand Down

0 comments on commit f556104

Please sign in to comment.