Pol
Revision:cb584c9
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
zone.h
Go to the documentation of this file.
1
7
#ifndef ZONE_H
8
#define ZONE_H
9
10
#include <utility>
11
12
#include "
poltype.h
"
13
14
namespace
Pol
15
{
16
namespace
Core
17
{
18
const
unsigned
ZONE_SIZE
= 4;
19
const
unsigned
ZONE_SHIFT
= 2;
20
21
std::pair<unsigned, unsigned>
XyToZone
(
xcoord
x,
ycoord
y );
22
23
typedef
unsigned
short
RegionId
;
24
}
// namespace Core
25
}
// namespace Pol
26
#endif
Pol::Core::ZONE_SHIFT
const unsigned ZONE_SHIFT
Definition:
zone.h:19
Pol::Core::ycoord
unsigned short ycoord
Definition:
poltype.h:20
poltype.h
Pol::Core::XyToZone
std::pair< unsigned, unsigned > XyToZone(xcoord x, ycoord y)
Definition:
zone.cpp:13
Pol::Core::ZONE_SIZE
const unsigned ZONE_SIZE
Definition:
zone.h:18
Pol::Core::RegionId
unsigned short RegionId
Definition:
zone.h:23
Pol
Definition:
berror.cpp:12
Pol::Core::xcoord
unsigned short xcoord
Definition:
poltype.h:19
pol
zone.h
Generated on Wed Oct 10 2018 02:42:37 for Pol by
1.8.11