GEOS 3.11.1
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#pragma once
21
22#include <geos/geom/prep/BasicPreparedGeometry.h> // for inheritance
23
24namespace geos {
25namespace geom { // geos::geom
26namespace prep { // geos::geom::prep
27
36private:
37protected:
38public:
39 PreparedPoint(const Geometry* geom)
41 { }
42
49 bool intersects(const geom::Geometry* g) const override;
50
51};
52
53} // namespace geos::geom::prep
54} // namespace geos::geom
55} // namespace geos
56
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition: Geometry.h:186
A base class for PreparedGeometry subclasses.
Definition: BasicPreparedGeometry.h:58
A prepared version of Point or MultiPoint geometries.
Definition: PreparedPoint.h:35
bool intersects(const geom::Geometry *g) const override
Basic namespace for all GEOS functionalities.
Definition: geos.h:39