00001 /********************************************************************** 00002 * $Id: PreparedPoint.h 2418 2009-04-29 08:15:21Z strk $ 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 * Last port: geom/prep/PreparedPoint.java rev. 1.2 (JTS-1.10) 00018 * 00019 **********************************************************************/ 00020 00021 #ifndef GEOS_GEOM_PREP_PREPAREDPOINT_H 00022 #define GEOS_GEOM_PREP_PREPAREDPOINT_H 00023 00024 #include <geos/geom/prep/BasicPreparedGeometry.h> // for inheritance 00025 00026 namespace geos { 00027 namespace geom { // geos::geom 00028 namespace prep { // geos::geom::prep 00029 00037 class PreparedPoint: public BasicPreparedGeometry 00038 { 00039 private: 00040 protected: 00041 public: 00042 PreparedPoint(const Geometry * geom) 00043 : BasicPreparedGeometry( geom) 00044 { } 00045 00052 bool intersects(geom::Geometry* g); 00053 00054 }; 00055 00056 } // namespace geos::geom::prep 00057 } // namespace geos::geom 00058 } // namespace geos 00059 00060 #endif // GEOS_GEOM_PREP_PREPAREDPOINT_H 00061 /********************************************************************** 00062 * $Log$ 00063 **********************************************************************/ 00064