#include <CGAL/Surface_mesh_simplification/Policies/Edge_collapse/Midpoint_placement.h>
The class Midpoint_placement is a model for the GetPlacement concept which computes the placement as the midpoint position along the edge.
- Template Parameters
-
| ECM | is the type of surface being simplified, and must be a model of the EdgeCollapsableMesh concept. |
- Is Model Of:
GetPlacement
|
|
result_type | operator() (Profile const &edge_profile) const |
| | Returns the placement (vertex position) as the midpoint between the points of the source and target vertices (profile.p0() and profile.p1())
|
| |