Holds x or y coordinate value of rectangle during computation of intersection area.
More...
#include <homog2d.hpp>
template<typename T>
struct h2d::priv::runion::Index< T >
Holds x or y coordinate value of rectangle during computation of intersection area.
◆ Index() [1/2]
◆ Index() [2/2]
T _value
Definition: homog2d.hpp:7829
uint8_t _rect_idx
Definition: homog2d.hpp:7830
◆ operator<
template<typename T>
bool operator< |
( |
const Index< T > & |
i1, |
|
|
const Index< T > & |
i2 |
|
) |
| |
|
friend |
7839 if( i1._value == i2._value )
7840 return i1._rect_idx < i2._rect_idx;
7841 return i1._value < i2._value;
◆ operator<<
template<typename T>
std::ostream& operator<< |
( |
std::ostream & |
f, |
|
|
const Index< T > & |
idx |
|
) |
| |
|
friend |
7845 f << idx._value <<
" ";
◆ _rect_idx
◆ _value
The documentation for this struct was generated from the following file: