GEOS 3.6.2
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
25namespace geos {
26namespace geom { // geos::geom
27namespace prep { // geos::geom::prep
28
36class PreparedPoint: public BasicPreparedGeometry
37{
38private:
39protected:
40public:
41 PreparedPoint(const Geometry * geom)
42 : BasicPreparedGeometry( geom)
43 { }
44
51 bool intersects(const geom::Geometry* g) const;
52
53};
54
55} // namespace geos::geom::prep
56} // namespace geos::geom
57} // namespace geos
58
59#endif // GEOS_GEOM_PREP_PREPAREDPOINT_H
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition Geometry.h:167
bool intersects(const geom::Geometry *g) const
Contains the Geometry interface hierarchy and supporting classes.
Definition IndexedNestedRingTester.h:26
Basic namespace for all GEOS functionalities.
Definition IndexedNestedRingTester.h:25