GEOS  3.13.0dev
TriangleVisitor.h
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/TriangleVisitor.java r524
16  *
17  **********************************************************************/
18 
19 #pragma once
20 
21 #include <geos/triangulate/quadedge/QuadEdge.h>
22 
23 namespace geos {
24 namespace triangulate { //geos.triangulate
25 namespace quadedge { //geos.triangulate.quadedge
26 
33 class GEOS_DLL TriangleVisitor {
34 public:
40  virtual void visit(std::array<QuadEdge*, 3> & triEdges) = 0;
41  virtual ~TriangleVisitor() = default;
42 private:
43 } ;
44 
45 } //namespace geos.triangulate.quadedge
46 } //namespace geos.triangulate
47 } //namespace goes
48 
An interface for algorithms which process the triangles in a QuadEdgeSubdivision.
Definition: TriangleVisitor.h:33
virtual void visit(std::array< QuadEdge *, 3 > &triEdges)=0
Basic namespace for all GEOS functionalities.
Definition: Angle.h:25