GEOS  3.14.0dev
RelateNodeFactory.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/RelateNodeFactory.java rev. 1.11 (JTS-1.10)
16  *
17  **********************************************************************/
18 
19 #pragma once
20 
21 #include <geos/export.h>
22 
23 #include <geos/geomgraph/NodeFactory.h> // for RelateNodeFactory inheritance
24 
25 // Forward declarations
26 namespace geos {
27 namespace geom {
28 class Coordinate;
29 }
30 namespace geomgraph {
31 class Node;
32 }
33 }
34 
35 
36 namespace geos {
37 namespace operation { // geos::operation
38 namespace relate { // geos::operation::relate
39 
43 class GEOS_DLL RelateNodeFactory: public geomgraph::NodeFactory {
44 public:
45  geomgraph::Node* createNode(const geom::Coordinate& coord) const override;
46  static const geomgraph::NodeFactory& instance();
47 private:
49 };
50 
51 
52 } // namespace geos:operation:relate
53 } // namespace geos:operation
54 } // namespace geos
55 
Coordinate is the lightweight class used to store coordinates.
Definition: Coordinate.h:217
The node component of a geometry graph.
Definition: geomgraph/Node.h:59
Used by the geomgraph::NodeMap in a RelateNodeGraph to create RelateNode objects.
Definition: RelateNodeFactory.h:43
Basic namespace for all GEOS functionalities.
Definition: Angle.h:25