CGAL::Project_vertex<Node>

Definition

The class Project_vertex<Node> calls the member function vertex() on an instance of type Node.

#include <CGAL/function_objects.h>

Is Model for the Concept

Projection_object

Project_vertex<Node>::argument_type
typedef to Node.


Project_vertex<Node>::result_type
typedef to Node::Vertex.

Creation

Project_vertex<Node> o;
default constructor.

Operations

result_type& o.operator() ( argument_type& n) const
returns n.vertex().
const result_type& o.operator() ( const argument_type& n) const
returns n.vertex().