LastFoundQuadEdgeLocator.h
/**********************************************************************
*
* GEOS - Geometry Engine Open Source
* http://geos.osgeo.org
*
* Copyright (C) 2012 Excensus LLC.
*
* This is free software; you can redistribute and/or modify it under
* the terms of the GNU Lesser General Licence as published
* by the Free Software Foundation.
* See the COPYING file for more information.
*
**********************************************************************
*
* Last port: triangulate/quadedge/LastFoundQuadEdgeLocator.java r524
*
**********************************************************************/
#pragma once
#include <geos/triangulate/quadedge/QuadEdge.h>
#include <geos/triangulate/quadedge/QuadEdgeLocator.h>
namespace geos {
namespace triangulate { //geos.triangulate
namespace quadedge { //geos.triangulate.quadedge
//fwd declarations
class QuadEdgeSubdivision;
class LastFoundQuadEdgeLocator : public QuadEdgeLocator {
private:
QuadEdgeSubdivision* subdiv;
QuadEdge* lastEdge;
public:
LastFoundQuadEdgeLocator(QuadEdgeSubdivision* subdiv);
private:
virtual void init();
virtual QuadEdge* findEdge();
public:
QuadEdge* locate(const Vertex& v) override;
};
} //namespace geos.triangulate.quadedge
} //namespace geos.triangulate
} //namespace goes
geos::triangulate::quadedge::LastFoundQuadEdgeLocator::locate
QuadEdge * locate(const Vertex &v) override
geos::triangulate::quadedge::QuadEdgeLocator
An interface for classes which locate an edge in a QuadEdgeSubdivision which either contains a given ...
Definition QuadEdgeLocator.h:39
geos::triangulate::quadedge::QuadEdgeSubdivision
A class that contains the QuadEdges representing a planar subdivision that models a triangulation.
Definition QuadEdgeSubdivision.h:78
geos::triangulate::quadedge::QuadEdge
A class that represents the edge data structure which implements the quadedge algebra.
Definition QuadEdge.h:53
geos::triangulate::quadedge::Vertex
Models a site (node) in a QuadEdgeSubdivision.
Definition Vertex.h:60
geos::triangulate::quadedge
Classes to implement a topological subdivision of quadeges, to support creating triangulations and Vo...
Definition ConcaveHull.h:33
geos::triangulate
Classes to compute Delaunay triangulations.
Definition ConcaveHull.h:32
geos
Basic namespace for all GEOS functionalities.
Definition geos.h:38