GEOS 3.6.2
EdgeEndBuilder.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/EdgeEndBuilder.java rev. 1.12 (JTS-1.10)
16 *
17 **********************************************************************/
18
19#ifndef GEOS_OP_RELATE_EDGEENDBUILDER_H
20#define GEOS_OP_RELATE_EDGEENDBUILDER_H
21
22#include <geos/export.h>
23
24#include <vector>
25
26// Forward declarations
27namespace geos {
28 namespace geom {
30 class Coordinate;
31 }
32 namespace geomgraph {
33 class Edge;
34 class EdgeIntersection;
35 class EdgeEnd;
36 }
37}
38
39
40namespace geos {
41namespace operation { // geos::operation
42namespace relate { // geos::operation::relate
43
48class GEOS_DLL EdgeEndBuilder {
49public:
50 EdgeEndBuilder() {}
51
52 std::vector<geomgraph::EdgeEnd*> *computeEdgeEnds(std::vector<geomgraph::Edge*> *edges);
53 void computeEdgeEnds(geomgraph::Edge *edge,std::vector<geomgraph::EdgeEnd*> *l);
54
55protected:
56
57 void createEdgeEndForPrev(geomgraph::Edge *edge,
58 std::vector<geomgraph::EdgeEnd*> *l,
61
62 void createEdgeEndForNext(geomgraph::Edge *edge,
63 std::vector<geomgraph::EdgeEnd*> *l,
66};
67
68} // namespace geos:operation:relate
69} // namespace geos:operation
70} // namespace geos
71
72#endif // GEOS_OP_RELATE_EDGEENDBUILDER_H
Coordinate is the lightweight class used to store coordinates.
Definition Coordinate.h:60
Implementation of Dimensionally Extended Nine-Intersection Model (DE-9IM) matrix.
Definition IntersectionMatrix.h:51
Models the end of an edge incident on a node.
Definition EdgeEnd.h:56
Definition EdgeIntersection.h:45
Definition geomgraph/Edge.h:66
Contains the Geometry interface hierarchy and supporting classes.
Definition IndexedNestedRingTester.h:26
Contains classes that implement topology graphs.
Definition IndexedNestedRingTester.h:34
Contains classes to implement the computation of the spatial relationships of Geometrys.
Definition EdgeEndBuilder.h:42
Provides classes for implementing operations on geometries.
Definition IndexedNestedRingTester.h:40
Basic namespace for all GEOS functionalities.
Definition IndexedNestedRingTester.h:25