GEOS 3.14.0dev
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
24namespace geos {
25namespace geom {
26class Coordinate;
27}
28namespace geomgraph {
29class Node;
30}
31}
32
33namespace geos {
34namespace operation { // geos::operation
35namespace buffer { // geos::operation::buffer
36
41class GEOS_DLL BufferNodeFactory: public geomgraph::NodeFactory {
42public:
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 geos.h:39