GEOS: RelateNode.h Source File

GEOS 3.5.0

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- File List

RelateNode.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 * Last port: operation/relate/RelateNode.java rev. 1.11 (JTS-1.10)
16 *
17 **********************************************************************/
18
19 #ifndef GEOS_OP_RELATE_RELATENODE_H
20 #define GEOS_OP_RELATE_RELATENODE_H
21
22 #include <geos/export.h>
23
24 #include <geos/geomgraph/Node.h> // for inheritance
25
26 // Forward declarations
27 namespace geos {
28 namespace geom {
29 class IntersectionMatrix;
30 class Coordinate;
31 }
32 namespace geomgraph {
33 class EdgeEndStar;
34 }
35 }
36
37
38 namespace geos {
39 namespace operation { // geos::operation
40 namespace relate { // geos::operation::relate
41
46 class GEOS_DLL RelateNode: public geomgraph::Node {
47
48 public:
49
50 RelateNode(const geom::Coordinate& coord, geomgraph::EdgeEndStar *edges);
51
52 virtual ~RelateNode();
53
57 void updateIMFromEdges(geom::IntersectionMatrix& im);
58
59 protected:
60
61 void computeIM(geom::IntersectionMatrix& im);
62 };
63
64
65 } // namespace geos:operation:relate
66 } // namespace geos:operation
67 } // namespace geos
68
69 #endif // GEOS_OP_RELATE_RELATENODE_H
geos::geomgraph::EdgeEndStar
A EdgeEndStar is an ordered list of EdgeEnds around a node.
Definition: EdgeEndStar.h:63
geos::geom::Coordinate
Coordinate is the lightweight class used to store coordinates.
Definition: Coordinate.h:60
geos::geom::IntersectionMatrix
Implementation of Dimensionally Extended Nine-Intersection Model (DE-9IM) matrix. ...
Definition: IntersectionMatrix.h:51
geos
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:25
geos::geomgraph::Node
Definition: geomgraph/Node.h:62
geos::operation::relate::RelateNode
Represents a node in the topological graph used to compute spatial relationships. ...
Definition: RelateNode.h:46