GEOS
3.3.3
Main Page
Related Pages
Namespaces
Classes
Files
File List
include
geos
geom
prep
PreparedGeometry.h
1
/**********************************************************************
2
* $Id: PreparedGeometry.h 3255 2011-03-01 17:56:10Z mloskot $
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
* Last port: geom/prep/PreparedGeometry.java rev. 1.11 (JTS-1.10)
17
*
18
**********************************************************************/
19
20
#ifndef GEOS_GEOM_PREP_PREPAREDGEOMETRY_H
21
#define GEOS_GEOM_PREP_PREPAREDGEOMETRY_H
22
23
#include <geos/export.h>
24
25
// Forward declarations
26
namespace
geos {
27
namespace
geom {
28
class
Geometry;
29
}
30
}
31
32
33
namespace
geos {
34
namespace
geom {
// geos::geom
35
namespace
prep {
// geos::geom::prep
36
54
class
GEOS_DLL
PreparedGeometry
{
55
public
:
56
virtual
~
PreparedGeometry
() {};
57
63
virtual
const
geom::Geometry
& getGeometry()
const
=0;
64
73
virtual
bool
contains(
const
geom::Geometry
*geom)
const
=0;
74
114
virtual
bool
containsProperly(
const
geom::Geometry
*geom)
const
=0;
115
124
virtual
bool
coveredBy(
const
geom::Geometry
*geom)
const
=0;
125
134
virtual
bool
covers(
const
geom::Geometry
*geom)
const
=0;
135
144
virtual
bool
crosses(
const
geom::Geometry
*geom)
const
=0;
145
154
virtual
bool
disjoint(
const
geom::Geometry
*geom)
const
=0;
155
164
virtual
bool
intersects(
const
geom::Geometry
*geom)
const
=0;
165
174
virtual
bool
overlaps(
const
geom::Geometry
*geom)
const
=0;
175
184
virtual
bool
touches(
const
geom::Geometry
*geom)
const
=0;
185
194
virtual
bool
within(
const
geom::Geometry
*geom)
const
=0;
195
};
196
197
198
}
// namespace geos::geom::prep
199
}
// namespace geos::geom
200
}
// namespace geos
201
202
203
#endif // ndef GEOS_GEOM_PREP_PREPAREDGEOMETRY_H
204
205
/**********************************************************************
206
* $Log$
207
**********************************************************************/
Generated on Thu Mar 13 2014 09:55:44 for GEOS by
1.8.1.2