GEOS
3.8.1
include
geos
algorithm
locate
PointOnGeometryLocator.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
#ifndef GEOS_ALGORITHM_LOCATE_POINTONGEOMETRYLOCATOR_H
17
#define GEOS_ALGORITHM_LOCATE_POINTONGEOMETRYLOCATOR_H
18
19
#include <geos/geom/Location.h>
20
21
namespace
geos
{
22
namespace
geom {
23
class
Coordinate;
24
}
25
}
26
27
namespace
geos
{
28
namespace
algorithm {
// geos::algorithm
29
namespace
locate {
// geos::algorithm::locate
30
37
class
PointOnGeometryLocator
{
38
private
:
39
protected
:
40
public
:
41
virtual
42
~
PointOnGeometryLocator
()
43
{ }
44
51
virtual
geom::Location
locate
(
const
geom::Coordinate
*
/*const*/
p) = 0;
52
};
53
54
}
// geos::algorithm::locate
55
}
// geos::algorithm
56
}
// geos
57
58
#endif // GEOS_ALGORITHM_LOCATE_POINTONGEOMETRYLOCATOR_H
geos::geom::Location
Location
Constants representing the location of a point relative to a geometry.
Definition:
Location.h:58
geos
Basic namespace for all GEOS functionalities.
Definition:
IndexedNestedRingTester.h:25
geos::geom::Coordinate
Coordinate is the lightweight class used to store coordinates.
Definition:
Coordinate.h:84
geos::algorithm::locate::PointOnGeometryLocator::locate
virtual geom::Location locate(const geom::Coordinate *p)=0
geos::algorithm::locate::PointOnGeometryLocator
An interface for classes which determine the Location of points in Polygon or MultiPolygon geometries...
Definition:
PointOnGeometryLocator.h:37
Generated by
1.8.17