00001 /********************************************************************** 00002 * $Id: PreparedPoint.h 2159 2008-08-18 16:27:02Z mloskot $ 00003 * 00004 * GEOS - Geometry Engine Open Source 00005 * http://geos.refractions.net 00006 * 00007 * Copyright (C) 2006 Refractions Research Inc. 00008 * 00009 * This is free software; you can redistribute and/or modify it under 00010 * the terms of the GNU Lesser General Public Licence as published 00011 * by the Free Software Foundation. 00012 * See the COPYING file for more information. 00013 * 00014 * 00015 **********************************************************************/ 00016 00017 #ifndef GEOS_GEOM_PREP_PREPAREDPOINT_H 00018 #define GEOS_GEOM_PREP_PREPAREDPOINT_H 00019 00020 #include <geos/geom/prep/BasicPreparedGeometry.h> // for inheritance 00021 00022 namespace geos { 00023 namespace geom { // geos::geom 00024 namespace prep { // geos::geom::prep 00025 00033 class PreparedPoint: public BasicPreparedGeometry 00034 { 00035 private: 00036 protected: 00037 public: 00038 PreparedPoint(const Geometry * geom) 00039 : BasicPreparedGeometry( geom) 00040 { } 00041 00048 bool intersects(geom::Geometry* g); 00049 00050 }; 00051 00052 } // namespace geos::geom::prep 00053 } // namespace geos::geom 00054 } // namespace geos 00055 00056 #endif // GEOS_GEOM_PREP_PREPAREDPOINT_H 00057 /********************************************************************** 00058 * $Log$ 00059 **********************************************************************/ 00060