CGAL 6.0.2 - Triangulated Surface Mesh Simplification

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

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

## Definition

template<typename Get_placement_>
class CGAL::Surface_mesh_simplification::Bounded_normal_change_placement< Get_placement_ >

Deprecated:
  This class is deprecated since CGAL 5.3 and the use of `Bounded_normal_change_filter` should be preferred.

The class `Bounded_normal_change_placement` is a model for the `GetPlacement` concept which serves as a filter for another placement. It rejects the placement if any triangle in the profile changes the normal by more than 90 degree.

Template Parameters

  Get_placement_ | must be a model of the concept `GetPlacement`.

Is model of
  `GetPlacement`

## Creation
| Bounded_normal_change_placement ()
| Default constructor
| Bounded_normal_change_placement (const Get_placement_ &get_placement)
| Constructor.

## Operations
std::optional< typename Edge_profile::Point > | operator() (const Edge_profile &profile) const
| Returns the placement computed by `get_placement`, if no triangle in the profile has its normal changed by more than 90 degree.

## Constructor & Destructor Documentation

## ◆ Bounded_normal_change_placement()

template<typename Get_placement_ >

CGAL::Surface_mesh_simplification::Bounded_normal_change_placement< Get_placement_ >::Bounded_normal_change_placement | ( | const Get_placement_ & | get_placement | ) |

Constructor.

Parameters

  get_placement | is the placement that will be filtered.