GEOS
3.8.1
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
include
geos
geom
prep
PreparedGeometry.h
1
/**********************************************************************
2
*
3
* GEOS - Geometry Engine Open Source
4
* http://geos.osgeo.org
5
*
6
* Copyright (C) 2006 Refractions Research Inc.
7
*
8
* This is free software; you can redistribute and/or modify it under
9
* the terms of the GNU Lesser General Public Licence as published
10
* by the Free Software Foundation.
11
* See the COPYING file for more information.
12
*
13
**********************************************************************
14
*
15
* Last port: geom/prep/PreparedGeometry.java rev. 1.11 (JTS-1.10)
16
*
17
**********************************************************************/
18
19
#ifndef GEOS_GEOM_PREP_PREPAREDGEOMETRY_H
20
#define GEOS_GEOM_PREP_PREPAREDGEOMETRY_H
21
22
#include <geos/export.h>
23
24
// Forward declarations
25
namespace
geos {
26
namespace
geom {
27
class
Geometry;
28
}
29
}
30
31
32
namespace
geos {
33
namespace
geom {
// geos::geom
34
namespace
prep {
// geos::geom::prep
35
53
class
GEOS_DLL
PreparedGeometry
{
54
public
:
55
virtual
56
~
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
geos::geom::Geometry
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition:
Geometry.h:188
geos::geom::prep::PreparedGeometry
An interface for classes which prepare Geometrys in order to optimize the performance of repeated cal...
Definition:
PreparedGeometry.h:53
Generated by
1.8.5