GEOS
3.3.3
Main Page
Related Pages
Namespaces
Classes
Files
File List
include
geos
index
strtree
strtree/Interval.h
1
/**********************************************************************
2
* $Id: Interval.h 2556 2009-06-06 22:22:28Z strk $
3
*
4
* GEOS - Geometry Engine Open Source
5
* http://geos.refractions.net
6
*
7
* Copyright (C) 2006 Refractions Research Inc.
8
*
9
* This is free software; you can redistribute and/or modify it under
10
* the terms of the GNU Lesser General Public Licence as published
11
* by the Free Software Foundation.
12
* See the COPYING file for more information.
13
*
14
**********************************************************************/
15
16
#ifndef GEOS_INDEX_STRTREE_INTERVAL_H
17
#define GEOS_INDEX_STRTREE_INTERVAL_H
18
19
#include <geos/export.h>
20
21
namespace
geos {
22
namespace
index {
// geos::index
23
namespace
strtree {
// geos::index::strtree
24
26
//
29
class
GEOS_DLL
Interval
{
30
public
:
31
Interval
(
Interval
*other);
32
Interval
(
double
newMin,
double
newMax);
33
double
getCentre();
34
Interval
* expandToInclude(
Interval
*other);
35
bool
intersects(
Interval
*other);
36
bool
equals(
void
*o);
37
private
:
38
double
imin;
39
double
imax;
40
};
41
42
43
}
// namespace geos::index::strtree
44
}
// namespace geos::index
45
}
// namespace geos
46
47
#endif // GEOS_INDEX_STRTREE_INTERVAL_H
48
49
/**********************************************************************
50
* $Log$
51
* Revision 1.1 2006/03/21 10:47:34 strk
52
* indexStrtree.h split
53
*
54
**********************************************************************/
55
Generated on Thu Mar 13 2014 09:55:44 for GEOS by
1.8.1.2