GEOS  3.13.1
BufferNodeFactory.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 #pragma once
16 
17 #include <geos/export.h>
18 
19 #include <vector>
20 
21 #include <geos/geomgraph/NodeFactory.h> // for inheritance
22 
23 // Forward declarations
24 namespace geos {
25 namespace geom {
26 class Coordinate;
27 }
28 namespace geomgraph {
29 class Node;
30 }
31 }
32 
33 namespace geos {
34 namespace operation { // geos::operation
35 namespace buffer { // geos::operation::buffer
36 
41 class GEOS_DLL BufferNodeFactory: public geomgraph::NodeFactory {
42 public:
43  BufferNodeFactory(): geomgraph::NodeFactory() {}
44  geomgraph::Node* createNode(const geom::Coordinate& coord) const override;
45  static const geomgraph::NodeFactory& instance();
46 };
47 
48 
49 } // namespace geos::operation::buffer
50 } // namespace geos::operation
51 } // namespace geos
52 
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
Creates nodes for use in the geomgraph::PlanarGraph constructed during buffer operations....
Definition: BufferNodeFactory.h:41
Basic namespace for all GEOS functionalities.
Definition: Angle.h:25