• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • File List

PreparedPolygonContainsProperly.h

00001 /**********************************************************************
00002  * $Id: PreparedPolygonContainsProperly.h 2420 2009-04-29 08:56:14Z 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/PreparedPolygonContainsProperly.java rev 1.5 (JTS-1.10)
00018  * (2007-12-12)
00019  *
00020  **********************************************************************/
00021 
00022 #ifndef GEOS_GEOM_PREP_PREPAREDPOLYGONCONTAINSPROPERLY_H
00023 #define GEOS_GEOM_PREP_PREPAREDPOLYGONCONTAINSPROPERLY_H
00024 
00025 #include <geos/geom/prep/PreparedPolygonPredicate.h> // inherited
00026 
00027 namespace geos {
00028         namespace geom { 
00029                 class Geometry;
00030 
00031                 namespace prep { 
00032                         class PreparedPolygon;
00033                 }
00034         }
00035 }
00036 
00037 namespace geos {
00038 namespace geom { // geos::geom
00039 namespace prep { // geos::geom::prep
00040 
00060 class PreparedPolygonContainsProperly : public PreparedPolygonPredicate
00061 {
00062 private:
00063 protected:
00064 public:
00073         static 
00074         bool 
00075         containsProperly( const PreparedPolygon * const prep, const geom::Geometry * geom)
00076         {
00077                 PreparedPolygonContainsProperly polyInt( prep);
00078                 return polyInt.containsProperly( geom);
00079         }
00080 
00086         PreparedPolygonContainsProperly( const PreparedPolygon * const prep)
00087         :       PreparedPolygonPredicate( prep)
00088         { }
00089         
00096         bool 
00097         containsProperly( const geom::Geometry * geom);
00098 
00099 };
00100 
00101 } // geos::geom::prep
00102 } // geos::geom
00103 } // geos
00104 
00105 #endif // GEOS_GEOM_PREP_PREPAREDPOLYGONCONTAINSPROPERLY_H
00106 /**********************************************************************
00107  * $Log$
00108  **********************************************************************/
00109 

Generated on Thu Jul 22 2010 for GEOS by  doxygen 1.7.1