GEOS 3.6.2
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 {
28 namespace geom {
29 class Coordinate;
30 }
31 namespace geomgraph {
32 class 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;
47 static const geomgraph::NodeFactory &instance();
48private:
49 RelateNodeFactory() {}
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
Definition geomgraph/Node.h:62
Contains the Geometry interface hierarchy and supporting classes.
Definition IndexedNestedRingTester.h:26
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 implementing operations on geometries.
Definition IndexedNestedRingTester.h:40
Basic namespace for all GEOS functionalities.
Definition IndexedNestedRingTester.h:25