PCL
Generic Relational Operators

This section defines the template operator functions not equal to, less than or equal, greater than, and greater than or equal. More...

Functions

template<class T1 , class T2 >
bool pcl::operator!= (const T1 &a, const T2 &b)
 
template<class T1 , class T2 >
bool pcl::operator<= (const T1 &a, const T2 &b)
 
template<class T1 , class T2 >
bool pcl::operator> (const T1 &a, const T2 &b)
 
template<class T1 , class T2 >
bool pcl::operator>= (const T1 &a, const T2 &b)
 

Detailed Description

For applicability of these generic operators, the following conditions are assumed for the template argument type T:

Function Documentation

◆ operator!=()

template<class T1 , class T2 >
bool pcl::operator!= ( const T1 &  a,
const T2 &  b 
)
inline

Returns true iff two objects a and b are not equal.

Definition at line 86 of file Relational.h.

◆ operator<=()

template<class T1 , class T2 >
bool pcl::operator<= ( const T1 &  a,
const T2 &  b 
)
inline

Returns true iff an object a is less than or equal to another object b.

Definition at line 96 of file Relational.h.

◆ operator>()

template<class T1 , class T2 >
bool pcl::operator> ( const T1 &  a,
const T2 &  b 
)
inline

Returns true iff an object a is greater than another object b.

Definition at line 106 of file Relational.h.

◆ operator>=()

template<class T1 , class T2 >
bool pcl::operator>= ( const T1 &  a,
const T2 &  b 
)
inline

Returns true iff an object a is greater than or equal to another object b.

Definition at line 117 of file Relational.h.