GEOS 3.6.2
OverlayNodeFactory.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/overlay/OverlayNodeFactory.java rev. 1.11 (JTS-1.10)
16 *
17 **********************************************************************/
18
19#ifndef GEOS_OP_OVERLAY_OVERLAYNODEFACTORY_H
20#define GEOS_OP_OVERLAY_OVERLAYNODEFACTORY_H
21
22#include <geos/export.h>
23
24#include <vector>
25
26#include <geos/geomgraph/NodeFactory.h> // for inheritance
27
28// Forward declarations
29namespace geos {
30 namespace geom {
31 class Coordinate;
32 }
33 namespace geomgraph {
34 class Node;
35 }
36}
37
38namespace geos {
39namespace operation { // geos::operation
40namespace overlay { // geos::operation::overlay
41
46class GEOS_DLL OverlayNodeFactory: public geomgraph::NodeFactory {
47public:
48 OverlayNodeFactory():geomgraph::NodeFactory() {}
49 geomgraph::Node* createNode(const geom::Coordinate &coord) const;
50 static const geomgraph::NodeFactory &instance();
51};
52
53
54} // namespace geos::operation::overlay
55} // namespace geos::operation
56} // namespace geos
57
58#endif // ndef GEOS_OP_OVERLAY_OVERLAYNODEFACTORY_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 that perform a topological overlay to compute boolean spatial functions.
Definition BufferBuilder.h:62
Provides classes for implementing operations on geometries.
Definition IndexedNestedRingTester.h:40
Basic namespace for all GEOS functionalities.
Definition IndexedNestedRingTester.h:25