libosmscout  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups
osmscout::CLASS_FINAL::Coord Struct Reference

A Coordinate for a point in a ground tile path. More...

#include <GroundTile.h>

Public Member Functions

 Coord ()
 
 Coord (uint16_t x, uint16_t y, bool coast)
 
bool operator== (const Coord &coord) const
 
void Set (uint16_t x, uint16_t y, bool coast)
 

Public Attributes

bool coast
 
uint16_t x
 
uint16_t y
 

Static Public Attributes

static const uint16_t CELL_MAX
 

Detailed Description

A Coordinate for a point in a ground tile path.

Constructor & Destructor Documentation

osmscout::CLASS_FINAL::Coord::Coord ( )
inline
osmscout::CLASS_FINAL::Coord::Coord ( uint16_t  x,
uint16_t  y,
bool  coast 
)
inline

Member Function Documentation

bool osmscout::CLASS_FINAL::Coord::operator== ( const Coord coord) const
inline

References coast, x, and y.

void osmscout::CLASS_FINAL::Coord::Set ( uint16_t  x,
uint16_t  y,
bool  coast 
)
inline

Member Data Documentation

const uint16_t osmscout::CLASS_FINAL::Coord::CELL_MAX
static
bool osmscout::CLASS_FINAL::Coord::coast

Referenced by operator==().

uint16_t osmscout::CLASS_FINAL::Coord::x

Referenced by operator==().

uint16_t osmscout::CLASS_FINAL::Coord::y

Referenced by operator==().


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