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

#include <sparse_helper.h>

Public Member Functions

bool operator() (const TripletEntry &e1, const TripletEntry &e2) const
 

Detailed Description

Definition at line 42 of file sparse_helper.h.

Member Function Documentation

◆ operator()()

bool g2o::TripletColSort::operator() ( const TripletEntry e1,
const TripletEntry e2 
) const
inline

Definition at line 43 of file sparse_helper.h.

43 {
44 return e1.c < e2.c || (e1.c == e2.c && e1.r < e2.r);
45 }

References g2o::TripletEntry::c, and g2o::TripletEntry::r.


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