CGAL 5.6.3 - Triangulated Surface Mesh Simplification

Loading...
Searching...
No Matches
List of all members
CGAL::Surface_mesh_simplification::Bounded_normal_change_filter< Filter > Class Template Reference
Triangulated Surface Mesh Simplification Reference

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

## Definition

template<typename Filter>
class CGAL::Surface_mesh_simplification::Bounded_normal_change_filter< Filter >

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

  Filter | must be a model of the concept `PlacementFilter`. It defaults to a class that does not filter any placement.

Is Model Of:
  `PlacementFilter`

## Creation
| Bounded_normal_change_filter ()
| Default constructor
| Bounded_normal_change_filter (const Filter &filter)
| Constructor.

## 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.

## 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 | ) |

Constructor.

Parameters

  filter | is the filter that will be filtered.