GEOS 3.9.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
26namespace geos {
27namespace geom {
28class Geometry;
29
30namespace prep {
31class PreparedPolygon;
32}
33}
34}
35
36namespace geos {
37namespace geom { // geos::geom
38namespace prep { // geos::geom::prep
39
60private:
61protected:
62public:
71 static
72 bool
73 containsProperly(const PreparedPolygon* const prep, const geom::Geometry* geom)
74 {
76 return polyInt.containsProperly(geom);
77 }
78
86 { }
87
94 bool
96
97};
98
99} // geos::geom::prep
100} // geos::geom
101} // geos
102
103#endif // GEOS_GEOM_PREP_PREPAREDPOLYGONCONTAINSPROPERLY_H
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition: Geometry.h:188
Computes the containsProperly spatial relationship predicate for PreparedPolygons relative to all oth...
Definition: PreparedPolygonContainsProperly.h:59
bool containsProperly(const geom::Geometry *geom)
Tests whether this PreparedPolygon containsProperly a given geometry.
PreparedPolygonContainsProperly(const PreparedPolygon *const prep)
Creates an instance of this operation.
Definition: PreparedPolygonContainsProperly.h:84
static bool containsProperly(const PreparedPolygon *const prep, const geom::Geometry *geom)
Computes the containsProperly predicate between a PreparedPolygon and a Geometry.
Definition: PreparedPolygonContainsProperly.h:73
A base class for predicate operations on PreparedPolygons.
Definition: PreparedPolygonPredicate.h:58
A prepared version of Polygon or MultiPolygon geometries.
Definition: PreparedPolygon.h:52
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:26