Locates QuadEdges in a QuadEdgeSubdivision, optimizing the search by starting in the locality of the last edge found.
More...
#include <LastFoundQuadEdgeLocator.h>
Locates QuadEdges in a QuadEdgeSubdivision, optimizing the search by starting in the locality of the last edge found.
- Author
- JTS: Martin Davis
-
Benjamin Campbell
Definition at line 39 of file LastFoundQuadEdgeLocator.h.
geos::triangulate::quadedge::LastFoundQuadEdgeLocator::LastFoundQuadEdgeLocator |
( |
QuadEdgeSubdivision * |
subdiv | ) |
|
virtual QuadEdge* geos::triangulate::quadedge::LastFoundQuadEdgeLocator::findEdge |
( |
| ) |
|
|
privatevirtual |
virtual void geos::triangulate::quadedge::LastFoundQuadEdgeLocator::init |
( |
| ) |
|
|
privatevirtual |
QuadEdge* geos::triangulate::quadedge::LastFoundQuadEdgeLocator::locate |
( |
const Vertex & |
v | ) |
|
|
overridevirtual |
Locates an edge e, such that either v is on e, or e is an edge of a triangle containing v. The search starts from the last located edge amd proceeds on the general direction of v.
- Returns
- The caller does not take ownership of the returned object.
Implements geos::triangulate::quadedge::QuadEdgeLocator.
QuadEdge* geos::triangulate::quadedge::LastFoundQuadEdgeLocator::lastEdge |
|
private |
The documentation for this class was generated from the following file: