CGAL 5.1 - STL Extensions for CGAL
CGAL::Project_opposite_prev< Node > Struct Template Reference

#include <CGAL/function_objects.h>

Definition

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

The class Project_opposite_prev calls the member functions opposite()->prev() on an instance of type Node.

Is Model Of:
ProjectionObject

Public Types

typedef Node * argument_type
 
typedef Node * result_type
 

Creation

 Project_opposite_prev ()
 default constructor. More...
 

Operations

result_typeoperator() (argument_type &n) const
 returns n->opposite()->prev(). More...
 
const result_typeoperator() (const argument_type &n) const
 returns n->opposite()->prev(). More...
 

Member Typedef Documentation

◆ argument_type

template<typename Node >
typedef Node* CGAL::Project_opposite_prev< Node >::argument_type

◆ result_type

template<typename Node >
typedef Node* CGAL::Project_opposite_prev< Node >::result_type

Constructor & Destructor Documentation

◆ Project_opposite_prev()

template<typename Node >
CGAL::Project_opposite_prev< Node >::Project_opposite_prev ( )

default constructor.

Member Function Documentation

◆ operator()() [1/2]

template<typename Node >
result_type& CGAL::Project_opposite_prev< Node >::operator() ( argument_type n) const

returns n->opposite()->prev().

◆ operator()() [2/2]

template<typename Node >
const result_type& CGAL::Project_opposite_prev< Node >::operator() ( const argument_type n) const

returns n->opposite()->prev().