CGAL 4.11 - Triangulated Surface Mesh Simplification
|
#include <CGAL/Surface_mesh_simplification/Policies/Edge_collapse/LindstromTurk_placement.h>
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).
ECM | is the type of surface mesh being simplified, and must be a model of the EdgeCollapsableSurfaceMesh concept. |
Creation | |
LindstromTurk_placement (FT const &factor=FT(0.5)) | |
Initializes the policy with the given weighting unit factor. More... | |
Operations | |
template<typename Profile > | |
optional< typename Profile::Point > | operator() (Profile const &profile) const |
Returns the new position for the remaining vertex after collapsing the edge (represented by its profile). | |
CGAL::Surface_mesh_simplification::LindstromTurk_placement< ECM >::LindstromTurk_placement | ( | 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.