GEOS 3.11.1
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#pragma once
20
21#include <geos/export.h>
22
23#include <geos/geomgraph/NodeFactory.h> // for RelateNodeFactory inheritance
24
25// Forward declarations
26namespace geos {
27namespace geom {
28class Coordinate;
29}
30namespace geomgraph {
31class Node;
32}
33}
34
35
36namespace geos {
37namespace operation { // geos::operation
38namespace relate { // geos::operation::relate
39
43class GEOS_DLL RelateNodeFactory: public geomgraph::NodeFactory {
44public:
45 geomgraph::Node* createNode(const geom::Coordinate& coord) const override;
46 static const geomgraph::NodeFactory& instance();
47private:
49};
50
51
52} // namespace geos:operation:relate
53} // namespace geos:operation
54} // namespace geos
55
Coordinate is the lightweight class used to store coordinates.
Definition: Coordinate.h:58
The node component of a geometry graph.
Definition: geomgraph/Node.h:59
Used by the geomgraph::NodeMap in a RelateNodeGraph to create RelateNode objects.
Definition: RelateNodeFactory.h:43
Basic namespace for all GEOS functionalities.
Definition: geos.h:39