CGAL 5.5.1 - Triangulated Surface Mesh Simplification
CGAL::Surface_mesh_simplification::Bounded_normal_change_filter< Filter > Class Template Reference

#include <CGAL/Surface_mesh_simplification/Policies/Edge_collapse/Bounded_normal_change_filter.h>


The class Bounded_normal_change_filter is a model for the PlacementFilter concept.

It rejects a placement if the nested filter rejects it, or if any triangle in the profile changes the normal by more than 90 degree, in this order.

Template Parameters
Filtermust be a model of the concept PlacementFilter. It defaults to a class that does not filter any placement.
Is Model Of:


 Bounded_normal_change_filter ()
 Default constructor
 Bounded_normal_change_filter (const Filter &filter)
 Constructor. More...


boost::optional< typename Edge_profile::Pointoperator() (const Edge_profile &profile, boost::optional< typename Profile::Point > op) const
 returns the placement, if it does not get filtered by the wrapped filter and if no triangle in the profile has its normal changed by more than 90 degrees.

Constructor & Destructor Documentation

◆ Bounded_normal_change_filter()

template<typename Filter >
CGAL::Surface_mesh_simplification::Bounded_normal_change_filter< Filter >::Bounded_normal_change_filter ( const Filter &  filter)


filteris the filter that will be filtered.