\( \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.8 - Triangulated Surface Mesh Simplification

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
CGAL::Surface_mesh_simplification::Edge_collapse_visitor_base< ECM > Class Template Reference
Triangulated Surface Mesh Simplification Reference

`#include <CGAL/Surface_mesh_simplification/Edge_collapse_visitor_base.h>`

## Definition

The class `Surface_mesh_simplification::Edge_collapse_visitor_base` provides a base class for models of the `EdgeCollapseSimplificationVisitor` concept.

This base class implements all of the visitor's callbacks. This way, users need only override the callbacks they are interested in. The callbacks are not virtual because this is not a dynamically polymorphic base class and the derived visitor will never be used polymorphically at runtime (is perfectly fine to override and hide a non-virtual method in the context of the static polymorphism used in the simplification algorithm).

Template Parameters

  ECM | is the type of surface mesh being simplified, and must be a model of the `EdgeCollapsableSurfaceMesh` concept.

Is Model Of:
  `EdgeCollapseSimplificationVisitor`