CGAL 5.6.3 - Triangulated Surface Mesh Simplification

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

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

## Definition

template<typename TriangleMesh>
class CGAL::Surface_mesh_simplification::LindstromTurk_placement< TriangleMesh >

The class `LindstromTurk_placement` provides a model for the `GetPlacement` concept.

It computes the placement, that is, the new position for the remaining vertex after a halfedge collapse, following the Lindstrom-Turk strategy (Section Lindstrom-Turk Cost and Placement Strategy).

Template Parameters

  TriangleMesh | is the type of surface mesh being simplified, and must be a model of the `MutableFaceGraph` and `HalfedgeListGraph` concepts.

Is Model Of:
  `GetPlacement`

See also
  `CGAL::Surface_mesh_simplification::LindstromTurk_cost<TriangleMesh>`

## Creation
| LindstromTurk_placement (const Edge_profile::FT &factor=FT(0.5))
| Initializes the policy with the given weighting unit factor.

## Operations
boost::optional< typename Edge_profile::Point > | operator() (const Edge_profile &profile) const
| Returns the new position for the remaining vertex after collapsing the edge (represented by its profile).

## Constructor & Destructor Documentation

## ◆ LindstromTurk_placement()

template<typename TriangleMesh >

CGAL::Surface_mesh_simplification::LindstromTurk_placement< TriangleMesh >::LindstromTurk_placement | ( | const Edge_profile::FT & | 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.