libosmscout 0.1
Loading...
Searching...
No Matches
osmscout::ScanCell Struct Reference

#include <Geometry.h>

Public Member Functions

int GetX () const
int GetY () const
bool IsEqual (const ScanCell &other) const
bool operator< (const ScanCell &other) const
bool operator== (const ScanCell &other) const
 ScanCell (int x, int y)
void Set (int x, int y)

Public Attributes

int x
int y

Constructor & Destructor Documentation

◆ ScanCell()

osmscout::ScanCell::ScanCell ( int x,
int y )

References x, and y.

Referenced by IsEqual(), operator<(), and operator==().

Member Function Documentation

◆ GetX()

int osmscout::ScanCell::GetX ( ) const
inline

◆ GetY()

int osmscout::ScanCell::GetY ( ) const
inline

◆ IsEqual()

bool osmscout::ScanCell::IsEqual ( const ScanCell & other) const
inline

References ScanCell(), x, and y.

◆ operator<()

bool osmscout::ScanCell::operator< ( const ScanCell & other) const
inline

References ScanCell(), x, and y.

◆ operator==()

bool osmscout::ScanCell::operator== ( const ScanCell & other) const
inline

References ScanCell(), x, and y.

◆ Set()

void osmscout::ScanCell::Set ( int x,
int y )
inline

References x, and y.

Member Data Documentation

◆ x

int osmscout::ScanCell::x

◆ y

int osmscout::ScanCell::y

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