CGAL 6.1 - STL Extensions for CGAL

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

`#include <CGAL/function_objects.h>`

## Definition

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

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

Is model of
  `ProjectionObject`

## Public Types
typedef Node * | argument_type
typedef Node * | result_type

## Creation
| Project_prev ()
| default constructor.

## Operations
result_type & | operator() (argument_type &n) const
| returns `n->prev()`.
const result_type & | operator() (const argument_type &n) const
| returns `n->prev()`.