g2o
Loading...
Searching...
No Matches
Public Member Functions | List of all members
g2o::OptimizableGraph::VertexIDCompare Struct Reference

order vertices based on their ID More...

#include <optimizable_graph.h>

Public Member Functions

bool operator() (const Vertex *v1, const Vertex *v2) const
 

Detailed Description

order vertices based on their ID

Definition at line 78 of file optimizable_graph.h.

Member Function Documentation

◆ operator()()

bool g2o::OptimizableGraph::VertexIDCompare::operator() ( const Vertex v1,
const Vertex v2 
) const
inline

Definition at line 79 of file optimizable_graph.h.

79 {
80 return v1->id() < v2->id();
81 }

References g2o::HyperGraph::Vertex::id().


The documentation for this struct was generated from the following file: