Img2Num C++ (Internal Developer Docs) dev
API Documentation
Loading...
Searching...
No Matches
XY Struct Reference
+ Collaboration diagram for XY:

Public Member Functions

 XY (int32_t x_, int32_t y_)
 
bool operator< (const XY &rhs) const
 

Public Attributes

int32_t x
 
int32_t y
 
std::pair< int32_t, int32_t > xy
 

Detailed Description

Definition at line 38 of file node.h.

Constructor & Destructor Documentation

◆ XY()

XY::XY ( int32_t  x_,
int32_t  y_ 
)
inline

Definition at line 41 of file node.h.

41 : x(x_), y(y_) {
42 xy = std::make_pair(x, y);
43 };

Member Function Documentation

◆ operator<()

bool XY::operator< ( const XY rhs) const
inline

Definition at line 44 of file node.h.

44 {
45 return xy < rhs.xy;
46 };

Member Data Documentation

◆ x

int32_t XY::x

Definition at line 39 of file node.h.

◆ xy

std::pair<int32_t, int32_t> XY::xy

Definition at line 40 of file node.h.

◆ y

int32_t XY::y

Definition at line 39 of file node.h.


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