PreparedPoint.h
/**********************************************************************
*
* GEOS - Geometry Engine Open Source
* http://geos.osgeo.org
*
* Copyright (C) 2006 Refractions Research Inc.
*
* This is free software; you can redistribute and/or modify it under
* the terms of the GNU Lesser General Public Licence as published
* by the Free Software Foundation.
* See the COPYING file for more information.
*
*
**********************************************************************
*
* Last port: geom/prep/PreparedPoint.java rev. 1.2 (JTS-1.10)
*
**********************************************************************/
#pragma once
#include <geos/geom/prep/BasicPreparedGeometry.h> // for inheritance
namespace geos {
namespace geom { // geos::geom
namespace prep { // geos::geom::prep
class PreparedPoint: public BasicPreparedGeometry {
private:
protected:
public:
PreparedPoint(const Geometry* geom)
: BasicPreparedGeometry(geom)
{ }
bool intersects(const geom::Geometry* g) const override;
};
} // namespace geos::geom::prep
} // namespace geos::geom
} // namespace geos
geos::geom::Geometry
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition Geometry.h:196
geos::geom::prep::PreparedPoint::intersects
bool intersects(const geom::Geometry *g) const override
geos::geom::prep
Contains classes and interfaces implementing algorithms that optimize the performance of repeated cal...
Definition AbstractPreparedPolygonContains.h:30
geos::geom
Definition Angle.h:26
geos
Basic namespace for all GEOS functionalities.
Definition geos.h:38