23 #ifndef GUDHI_FIRST_VERTEX_PLACEMENT_H_
24 #define GUDHI_FIRST_VERTEX_PLACEMENT_H_
26 #include "Placement_policy.h"
30 namespace contraction {
39 typedef typename EdgeProfile::Point Point;
40 typedef typename EdgeProfile::Edge_handle Edge_handle;
42 typedef typename Placement_policy<EdgeProfile>::Placement_type Placement_type;
44 Placement_type operator()(
const EdgeProfile& profile)
const override{
45 return Placement_type(profile.p0());
Places the contracted point onto the first point of the edge.
Definition: First_vertex_placement.h:36
Policy to specify where the merged point had to be placed after an edge contraction.
Definition: Placement_policy.h:36