Loading [MathJax]/extensions/TeX/AMSsymbols.js
 
CGAL 6.0.1 - Triangulated Surface Mesh Simplification
All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Modules Pages
Loading...
Searching...
No Matches

Definition

Operations

bool operator() (const Edge_profile::FT &current_cost, const Edge_profile &profile, const Edge_profile::edges_size_type initial_edge_count, const Edge_profile::edges_size_type current_edge_count) const
 This predicate is called each time an edge is selected for processing, before it is collapsed.
 

Member Function Documentation

◆ operator()()

bool StopPredicate::operator() ( const Edge_profile::FT &  current_cost,
const Edge_profile &  profile,
const Edge_profile::edges_size_type  initial_edge_count,
const Edge_profile::edges_size_type  current_edge_count 
) const

This predicate is called each time an edge is selected for processing, before it is collapsed.

current_edge_cost is the cost of the selected edge. initial_edge_count and current_edge_count are the number of initial and current edges. If the return value is true the simplification terminates before processing the edge, otherwise it continues normally.