GEOS  3.9.1dev
LastFoundQuadEdgeLocator.h
Go to the documentation of this file.
1 /**********************************************************************
2  *
3  * GEOS - Geometry Engine Open Source
4  * http://geos.osgeo.org
5  *
6  * Copyright (C) 2012 Excensus LLC.
7  *
8  * This is free software; you can redistribute and/or modify it under
9  * the terms of the GNU Lesser General Licence as published
10  * by the Free Software Foundation.
11  * See the COPYING file for more information.
12  *
13  **********************************************************************
14  *
15  * Last port: triangulate/quadedge/LastFoundQuadEdgeLocator.java r524
16  *
17  **********************************************************************/
18 
19 #ifndef GEOS_TRIANGULATE_QUADEDGE_LASTFOUNDQUADEDGELOCATOR_H
20 #define GEOS_TRIANGULATE_QUADEDGE_LASTFOUNDQUADEDGELOCATOR_H
21 
24 
25 namespace geos {
26 namespace triangulate { //geos.triangulate
27 namespace quadedge { //geos.triangulate.quadedge
28 
29 //fwd declarations
30 class QuadEdgeSubdivision;
31 
40 private:
43 
44 public:
46 
47 private:
48  virtual void init();
49 
50  virtual QuadEdge* findEdge();
51 
52 public:
58  QuadEdge* locate(const Vertex& v) override;
59 };
60 
61 } //namespace geos.triangulate.quadedge
62 } //namespace geos.triangulate
63 } //namespace goes
64 
65 #endif // GEOS_TRIANGULATE_QUADEDGE_LASTFOUNDQUADEDGELOCATOR_H
66 
Models a site (node) in a QuadEdgeSubdivision.
Definition: Vertex.h:60
QuadEdge * locate(const Vertex &v) override
LastFoundQuadEdgeLocator(QuadEdgeSubdivision *subdiv)
A class that contains the QuadEdges representing a planar subdivision that models a triangulation...
Basic namespace for all GEOS functionalities.
A class that represents the edge data structure which implements the quadedge algebra.
Definition: QuadEdge.h:54
Locates QuadEdges in a QuadEdgeSubdivision, optimizing the search by starting in the locality of the ...
An interface for classes which locate an edge in a QuadEdgeSubdivision which either contains a given ...