GEOS 3.9.1
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#ifndef GEOS_OP_RELATE_RELATENODEFACTORY_H
20#define GEOS_OP_RELATE_RELATENODEFACTORY_H
21
22#include <geos/export.h>
23
24#include <geos/geomgraph/NodeFactory.h> // for RelateNodeFactory inheritance
25
26// Forward declarations
27namespace geos {
28namespace geom {
29class Coordinate;
30}
31namespace geomgraph {
32class Node;
33}
34}
35
36
37namespace geos {
38namespace operation { // geos::operation
39namespace relate { // geos::operation::relate
40
44class GEOS_DLL RelateNodeFactory: public geomgraph::NodeFactory {
45public:
46 geomgraph::Node* createNode(const geom::Coordinate& coord) const override;
47 static const geomgraph::NodeFactory& instance();
48private:
50};
51
52
53} // namespace geos:operation:relate
54} // namespace geos:operation
55} // namespace geos
56
57#endif // GEOS_OP_RELATE_RELATENODEFACTORY_H
Coordinate is the lightweight class used to store coordinates.
Definition: Coordinate.h:60
The node component of a geometry graph.
Definition: geomgraph/Node.h:62
Used by the geomgraph::NodeMap in a RelateNodeGraph to create RelateNode objects.
Definition: RelateNodeFactory.h:44
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:26