GEOS  3.6.2
PreparedPoint.h
00001 /**********************************************************************
00002  *
00003  * GEOS - Geometry Engine Open Source
00004  * http://geos.osgeo.org
00005  *
00006  * Copyright (C) 2006 Refractions Research Inc.
00007  *
00008  * This is free software; you can redistribute and/or modify it under
00009  * the terms of the GNU Lesser General Public Licence as published
00010  * by the Free Software Foundation. 
00011  * See the COPYING file for more information.
00012  *
00013  *
00014  **********************************************************************
00015  *
00016  * Last port: geom/prep/PreparedPoint.java rev. 1.2 (JTS-1.10)
00017  *
00018  **********************************************************************/
00019 
00020 #ifndef GEOS_GEOM_PREP_PREPAREDPOINT_H
00021 #define GEOS_GEOM_PREP_PREPAREDPOINT_H
00022 
00023 #include <geos/geom/prep/BasicPreparedGeometry.h> // for inheritance
00024 
00025 namespace geos {
00026 namespace geom { // geos::geom
00027 namespace prep { // geos::geom::prep
00028 
00036 class PreparedPoint: public BasicPreparedGeometry 
00037 {
00038 private:
00039 protected:
00040 public:
00041         PreparedPoint(const Geometry * geom) 
00042                 : BasicPreparedGeometry( geom) 
00043         { }
00044 
00051         bool intersects(const geom::Geometry* g) const;
00052 
00053 };
00054 
00055 } // namespace geos::geom::prep
00056 } // namespace geos::geom
00057 } // namespace geos
00058 
00059 #endif // GEOS_GEOM_PREP_PREPAREDPOINT_H