CGAL 6.1 - Triangulated Surface Mesh Simplification

Loading...
Searching...
No Matches
List of all members | Public Types
PlacementFilter Concept Reference
Reference Manual » Concepts

## Definition

The concept `PlacementFilter` describes the requirements for the policy function object which gets the profile and placement of an edge and which can filter the placement. The filtering is only done when an edge is taken from the priority queue in order to get collapsed, and neither when the edge is inserted nor when it is updated in the priority queue.

The placement returned is a `std::optional` value (i.e., it can be absent). The value `std::nullopt` indicates that the edge should not be collapsed.

Refines
  `DefaultConstructible`
  `CopyConstructible`

Has models
  `CGAL::Surface_mesh_simplification::Bounded_normal_change_filter<BasePlacementFilter>`
  `CGAL::Surface_mesh_simplification::Polyhedral_envelope_filter<GeomTraits, BasePlacementFilter>`

## Public Types
typedef CGAL::Surface_mesh_simplification::Edge_profile | Edge_profile
| The class `Edge_profile` regroups useful information about an edge, such as its incident vertices and faces.

## Operations
std::optional< Edge_profile::Point > | operator() (const Edge_profile &profile, std::optional< Edge_profile::Point > placement) const
| filters the placement.