CGAL::Surface_mesh_simplification::LindstromTurk_placement<ECM>

Definition

The class Surface_mesh_simplification::LindstromTurk_placement<ECM> 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 51.3.1).

The class Surface_mesh_simplification::LindstromTurk_placement<ECM> has one template argument: the type of surface being simplified. It must be a model of the EdgeCollapsableMesh concept.

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

Is Model for the Concepts

GetPlacement

Creation

Surface_mesh_simplification::LindstromTurk_placement<ECM> gp ( FT factor = FT(0.5));
Initializes the policy with the given weighting unit factor. See 51.3.1 for details on the meaning of this factor.

Operations

result_type gp.operator() ( Profile const& edge_profile) const
Returns the new position for the remaining vertex after collapsing the edge (represented by its profile).

See Also

CGAL::Surface_mesh_simplification::LindstromTurk_cost<ECM>