\( \newcommand{\E}{\mathrm{E}} \) \( \newcommand{\A}{\mathrm{A}} \) \( \newcommand{\R}{\mathrm{R}} \) \( \newcommand{\N}{\mathrm{N}} \) \( \newcommand{\Q}{\mathrm{Q}} \) \( \newcommand{\Z}{\mathrm{Z}} \) \( \def\ccSum #1#2#3{ \sum_{#1}^{#2}{#3} } \def\ccProd #1#2#3{ \sum_{#1}^{#2}{#3} }\)
CGAL 4.10.1 - Triangulated Surface Mesh Simplification
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
CGAL::Surface_mesh_simplification::LindstromTurk_cost< ECM > Class Template Reference

#include <CGAL/Surface_mesh_simplification/Policies/Edge_collapse/LindstromTurk_cost.h>

Definition

The class LindstromTurk_cost provides a model for the GetCost concept.

It computes the collapse cost following the Lindstrom-Turk strategy (Section Lindstrom-Turk Cost and Placement Strategy)

Template Parameters
ECMis the type of surface mesh being simplified, and must be a model of the EdgeCollapsableSurfaceMesh concept.
Is Model Of:
GetCost
See Also
CGAL::Surface_mesh_simplification::LindstromTurk_placement<ECM>

Creation

 LindstromTurk_cost (FT const &factor=FT(0.5))
 Initializes the policy with the given weighting unit factor. More...
 

Operations

template<typename Profile >
optional< typename Profile::FT > operator() (Profile const &profile, boost::optional< typename Profile::Point > const &placement) const
 Returns the cost of collapsing the edge (represented by its profile) considering the new placement computed for it.
 

Constructor & Destructor Documentation

template<typename ECM >
CGAL::Surface_mesh_simplification::LindstromTurk_cost< ECM >::LindstromTurk_cost ( FT const &  factor = FT(0.5))

Initializes the policy with the given weighting unit factor.

See Lindstrom-Turk Cost and Placement Strategy for details on the meaning of this factor.