Stg::point_int_t Class Reference

#include <stage.hh>

Public Member Functions

bool operator< (const point_int_t &other) const
 
bool operator== (const point_int_t &other) const
 
 point_int_t ()
 
 point_int_t (int x, int y)
 

Public Attributes

int x
 
int y
 

Detailed Description

Define an integer point on the 2d plane

Constructor & Destructor Documentation

◆ point_int_t() [1/2]

Stg::point_int_t::point_int_t ( int  x,
int  y 
)
inline

◆ point_int_t() [2/2]

Stg::point_int_t::point_int_t ( )
inline

Member Function Documentation

◆ operator<()

bool Stg::point_int_t::operator< ( const point_int_t other) const
inline

required to put these in sorted containers like std::map

◆ operator==()

bool Stg::point_int_t::operator== ( const point_int_t other) const
inline

Member Data Documentation

◆ x

int Stg::point_int_t::x

◆ y

int Stg::point_int_t::y

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