GEOS 3.6.2
ConsistentAreaTester.h
1/**********************************************************************
2 *
3 * GEOS - Geometry Engine Open Source
4 * http://geos.osgeo.org
5 *
6 * Copyright (C) 2005-2006 Refractions Research Inc.
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 * Last port: operation/valid/ConsistentAreaTester.java rev. 1.14 (JTS-1.10)
17 *
18 **********************************************************************/
19
20#ifndef GEOS_OP_CONSISTENTAREATESTER_H
21#define GEOS_OP_CONSISTENTAREATESTER_H
22
23#include <geos/export.h>
24
25#include <geos/geom/Coordinate.h> // for composition
26#include <geos/algorithm/LineIntersector.h> // for composition
27#include <geos/operation/relate/RelateNodeGraph.h> // for composition
28
29// Forward declarations
30namespace geos {
31 namespace algorithm {
32 class LineIntersector;
33 }
34 namespace geomgraph {
35 class GeometryGraph;
36 }
37 namespace operation {
38 namespace relate {
39 class RelateNodeGraph;
40 }
41 }
42}
43
44namespace geos {
45namespace operation { // geos::operation
46namespace valid { // geos::operation::valid
47
83class GEOS_DLL ConsistentAreaTester {
84private:
85
87
89 geomgraph::GeometryGraph *geomGraph;
90
92
94 geom::Coordinate invalidPoint;
95
100 bool isNodeEdgeAreaLabelsConsistent();
101
102public:
103
111
113
119
128
145};
146
147
148
149} // namespace geos::operation::valid
150} // namespace geos::operation
151} // namespace geos
152
153#endif // GEOS_OP_CONSISTENTAREATESTER_H
A LineIntersector is an algorithm that can both test whether two line segments intersect and compute ...
Definition LineIntersector.h:49
Coordinate is the lightweight class used to store coordinates.
Definition Coordinate.h:60
Definition GeometryGraph.h:74
Implements the simple graph of Nodes and geomgraph::EdgeEnd which is all that is required to determin...
Definition RelateNodeGraph.h:68
bool isNodeConsistentArea()
Check all nodes to see if their labels are consistent with area topology.
ConsistentAreaTester(geomgraph::GeometryGraph *newGeomGraph)
Contains classes and interfaces implementing fundamental computational geometry algorithms.
Definition Angle.h:33
Contains classes that implement topology graphs.
Definition IndexedNestedRingTester.h:34
Contains classes to implement the computation of the spatial relationships of Geometrys.
Definition EdgeEndBuilder.h:42
Provides classes for testing the validity of geometries.
Definition IndexedNestedRingTester.h:41
Provides classes for implementing operations on geometries.
Definition IndexedNestedRingTester.h:40
Basic namespace for all GEOS functionalities.
Definition IndexedNestedRingTester.h:25