CGAL 5.5 - Triangulated Surface Mesh Simplification
|
#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.
Filter | must be a model of the concept PlacementFilter . It defaults to a class that does not filter any placement. |
Creation | |
Bounded_normal_change_filter () | |
Default constructor | |
Bounded_normal_change_filter (const Filter &filter) | |
Constructor. More... | |
Operations | |
boost::optional< typename Edge_profile::Point > | operator() (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. | |
CGAL::Surface_mesh_simplification::Bounded_normal_change_filter< Filter >::Bounded_normal_change_filter | ( | const Filter & | filter | ) |
Constructor.
filter | is the filter that will be filtered. |