Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suppress unused parameter warning #2074

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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