GEOS 3.14.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
23namespace geos {
24namespace triangulate { //geos.triangulate
25namespace quadedge { //geos.triangulate.quadedge
26
33class GEOS_DLL TriangleVisitor {
34public:
40 virtual void visit(std::array<QuadEdge*, 3> & triEdges) = 0;
41 virtual ~TriangleVisitor() = default;
42private:
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 geos.h:39