Pol  Revision:cb584c9
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
const unsigned ZONE_SHIFT
Definition: zone.h:19
unsigned short ycoord
Definition: poltype.h:20
std::pair< unsigned, unsigned > XyToZone(xcoord x, ycoord y)
Definition: zone.cpp:13
const unsigned ZONE_SIZE
Definition: zone.h:18
unsigned short RegionId
Definition: zone.h:23
Definition: berror.cpp:12
unsigned short xcoord
Definition: poltype.h:19