GEOS
3.9.1
include
geos
geom
prep
PreparedPoint.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
*
16
* Last port: geom/prep/PreparedPoint.java rev. 1.2 (JTS-1.10)
17
*
18
**********************************************************************/
19
20
#ifndef GEOS_GEOM_PREP_PREPAREDPOINT_H
21
#define GEOS_GEOM_PREP_PREPAREDPOINT_H
22
23
#include <geos/geom/prep/BasicPreparedGeometry.h>
// for inheritance
24
25
namespace
geos
{
26
namespace
geom {
// geos::geom
27
namespace
prep {
// geos::geom::prep
28
36
class
PreparedPoint
:
public
BasicPreparedGeometry
{
37
private
:
38
protected
:
39
public
:
40
PreparedPoint
(
const
Geometry
* geom)
41
:
BasicPreparedGeometry
(geom)
42
{ }
43
50
bool
intersects
(
const
geom::Geometry
* g)
const override
;
51
52
};
53
54
}
// namespace geos::geom::prep
55
}
// namespace geos::geom
56
}
// namespace geos
57
58
#endif // GEOS_GEOM_PREP_PREPAREDPOINT_H
geos::geom::prep::BasicPreparedGeometry
A base class for PreparedGeometry subclasses.
Definition:
BasicPreparedGeometry.h:59
geos
Basic namespace for all GEOS functionalities.
Definition:
IndexedNestedRingTester.h:26
geos::geom::Geometry
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition:
Geometry.h:188
geos::geom::prep::PreparedPoint::intersects
bool intersects(const geom::Geometry *g) const override
geos::geom::prep::PreparedPoint
A prepared version of Point or MultiPoint geometries.
Definition:
PreparedPoint.h:36
Generated by
1.8.20