GEOS  3.9.0dev
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.
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
51
52  ~RelateNode() override = default;
53
57  void updateIMFromEdges(geom::IntersectionMatrix& im);
58
59 protected:
60
61  void computeIM(geom::IntersectionMatrix& im) override;
62 };
63
64
65 } // namespace geos:operation:relate
66 } // namespace geos:operation
67 } // namespace geos
68
69 #endif // GEOS_OP_RELATE_RELATENODE_H
A EdgeEndStar is an ordered list of EdgeEnds around a node.
Definition: EdgeEndStar.h:65
Coordinate is the lightweight class used to store coordinates.
Definition: Coordinate.h:60
Implementation of Dimensionally Extended Nine-Intersection Model (DE-9IM) matrix. ...
Definition: IntersectionMatrix.h:54
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:26
The node component of a geometry graph.
Definition: geomgraph/Node.h:62
Represents a node in the topological graph used to compute spatial relationships. ...
Definition: RelateNode.h:46