Pol
Revision:cb584c9
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
boundbox.h
Go to the documentation of this file.
1
7
#ifndef __BOUNDBOX_H
8
#define __BOUNDBOX_H
9
10
#include <string>
11
#include <vector>
12
13
namespace
Pol
14
{
15
namespace
Mobile
16
{
17
struct
Point
18
{
19
unsigned
short
x
;
20
unsigned
short
y
;
21
};
22
23
struct
Area
24
{
25
Point
topleft
;
26
Point
bottomright
;
27
};
28
29
class
BoundingBox
30
{
31
public
:
32
bool
contains(
unsigned
short
x
,
unsigned
short
y
)
const
;
33
bool
read( std::string areadesc );
34
void
addarea(
const
Area
& area );
35
36
private
:
37
typedef
std::vector<Area>
Areas
;
38
Areas
areas
;
39
};
40
}
41
}
42
#endif // BOUNDBOX_H
Pol::Mobile::Point
Definition:
boundbox.h:17
Pol::Mobile::BoundingBox::Areas
std::vector< Area > Areas
Definition:
boundbox.h:37
Pol::Mobile::BoundingBox
Definition:
boundbox.h:29
Pol::Mobile::Area
Definition:
boundbox.h:23
Pol::Mobile::Point::x
unsigned short x
Definition:
boundbox.h:19
Pol::Mobile::BoundingBox::areas
Areas areas
Definition:
boundbox.h:38
Pol::Mobile::Area::bottomright
Point bottomright
Definition:
boundbox.h:26
Pol::Core::FilterType::Mobile
Pol::Mobile::Point::y
unsigned short y
Definition:
boundbox.h:20
Pol
Definition:
berror.cpp:12
Pol::Mobile::Area::topleft
Point topleft
Definition:
boundbox.h:25
pol
mobile
boundbox.h
Generated on Wed Oct 10 2018 02:42:02 for Pol by
1.8.11