GEOS  3.6.1
PreparedPolygonContainsProperly.h
1 /**********************************************************************
2  *
3  * GEOS - Geometry Engine Open Source
4  * http://geos.osgeo.org
5  *
6  * Copyright (C) 2006 Refractions Research Inc.
7  *
8  * This is free software; you can redistribute and/or modify it under
9  * the terms of the GNU Lesser General Public Licence as published
10  * by the Free Software Foundation.
11  * See the COPYING file for more information.
12  *
13  *
14  **********************************************************************
15  *
16  * Last port: geom/prep/PreparedPolygonContainsProperly.java rev 1.5 (JTS-1.10)
17  * (2007-12-12)
18  *
19  **********************************************************************/
20 
21 #ifndef GEOS_GEOM_PREP_PREPAREDPOLYGONCONTAINSPROPERLY_H
22 #define GEOS_GEOM_PREP_PREPAREDPOLYGONCONTAINSPROPERLY_H
23 
24 #include <geos/geom/prep/PreparedPolygonPredicate.h> // inherited
25 
26 namespace geos {
27  namespace geom {
28  class Geometry;
29 
30  namespace prep {
31  class PreparedPolygon;
32  }
33  }
34 }
35 
36 namespace geos {
37 namespace geom { // geos::geom
38 namespace prep { // geos::geom::prep
39 
60 {
61 private:
62 protected:
63 public:
72  static
73  bool
74  containsProperly( const PreparedPolygon * const prep, const geom::Geometry * geom)
75  {
76  PreparedPolygonContainsProperly polyInt( prep);
77  return polyInt.containsProperly( geom);
78  }
79 
87  { }
88 
95  bool
96  containsProperly( const geom::Geometry * geom);
97 
98 };
99 
100 } // geos::geom::prep
101 } // geos::geom
102 } // geos
103 
104 #endif // GEOS_GEOM_PREP_PREPAREDPOLYGONCONTAINSPROPERLY_H
PreparedPolygonContainsProperly(const PreparedPolygon *const prep)
Definition: PreparedPolygonContainsProperly.h:85
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition: Geometry.h:167
A base class for predicate operations on PreparedPolygons.
Definition: PreparedPolygonPredicate.h:57
static bool containsProperly(const PreparedPolygon *const prep, const geom::Geometry *geom)
Definition: PreparedPolygonContainsProperly.h:74
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:25
A prepared version of Polygon or MultiPolygon geometries.
Definition: PreparedPolygon.h:48
Computes the containsProperly spatial relationship predicate for PreparedPolygons relative to all oth...
Definition: PreparedPolygonContainsProperly.h:59