GEOS 3.9.1
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 {
30namespace geom {
31class Coordinate;
32}
33namespace geomgraph {
34class 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 override;
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
The node component of a geometry graph.
Definition geomgraph/Node.h:62
Creates nodes for use in the geomgraph::PlanarGraph constructed during overlay operations....
Definition OverlayNodeFactory.h:46
Basic namespace for all GEOS functionalities.
Definition IndexedNestedRingTester.h:26