CGAL 6.2 - STL Extensions for CGAL: CGAL::Project_vertex< Node > Struct Template Reference

CGAL 6.2 - STL Extensions for CGAL

Loading...
Searching...
No Matches
List of all members | Public Types
CGAL::Project_vertex< Node > Struct Template Reference
Reference Manual » Projection Function Objects

`#include <CGAL/function_objects.h>`

## Definition

template<typename Node>
struct CGAL::Project_vertex< Node >

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

Is model of
  `ProjectionObject`

## Public Types
typedef Node | argument_type
typedef Node::Vertex | result_type

## Creation
| Project_vertex ()
| default constructor.

## Operations
result_type & | operator() (argument_type &n) const
| returns `n.vertex()`.
const result_type & | operator() (const argument_type &n) const
| returns `n.vertex()`.