~sharpie/geos/3.3.2

« back to all changes in this revision

Viewing changes to source/geom/prep/PreparedPolygonCovers.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Fabio Tranchitella
  • Date: 2009-03-27 15:54:54 UTC
  • mfrom: (1.2.1 upstream) (5.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20090327155454-o3u9j86rzrtcp5vl
Tags: 3.1.0-1
* New upstream release.
* This version includes also a missing header inclusion, which caused FTBFS
  on armel. (Closes: #520447)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/**********************************************************************
 
2
 * $Id: PreparedPolygonCovers.cpp 2158 2008-08-18 16:24:18Z mloskot $
 
3
 *
 
4
 * GEOS - Geometry Engine Open Source
 
5
 * http://geos.refractions.net
 
6
 *
 
7
 * Copyright (C) 2001-2002 Vivid Solutions Inc.
 
8
 *
 
9
 * This is free software; you can redistribute and/or modify it under
 
10
 * the terms of the GNU Lesser General Public Licence as published
 
11
 * by the Free Software Foundation. 
 
12
 * See the COPYING file for more information.
 
13
 *
 
14
 **********************************************************************/
 
15
 
 
16
 
 
17
#include <geos/geom/prep/PreparedPolygonCovers.h>
 
18
#include <geos/geom/prep/PreparedPolygon.h>
 
19
#include <geos/geom/Geometry.h>
 
20
 
 
21
namespace geos {
 
22
namespace geom { // geos.geom
 
23
namespace prep { // geos.geom.prep
 
24
//
 
25
// private:
 
26
//
 
27
 
 
28
//
 
29
// protected:
 
30
//
 
31
bool 
 
32
PreparedPolygonCovers::fullTopologicalPredicate( const geom::Geometry * geom)
 
33
{
 
34
        bool result = prepPoly->getGeometry().covers( geom);
 
35
        return result;
 
36
}
 
37
 
 
38
//
 
39
// public:
 
40
//
 
41
 
 
42
} // namespace geos.geom.prep
 
43
} // namespace geos.geom
 
44
} // namespace geos
 
45
 
 
46
/**********************************************************************
 
47
 * $Log$
 
48
 *
 
49
 **********************************************************************/