/********************************************************************** * * 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/TriangleVisitor.java r524 * **********************************************************************/ #pragma once #include namespace geos { namespace triangulate { //geos.triangulate namespace quadedge { //geos.triangulate.quadedge /** \brief * An interface for algorithms which process the triangles in a {@link QuadEdgeSubdivision}. * * @author JTS: Martin Davis * @author Benjamin Campbell */ class GEOS_DLL TriangleVisitor { public: /** * Visits the {@link QuadEdge}s of a triangle. * * @param triEdges an array of the 3 quad edges in a triangle (in CCW order) */ virtual void visit(std::array & triEdges) = 0; virtual ~TriangleVisitor() = default; private: } ; } //namespace geos.triangulate.quadedge } //namespace geos.triangulate } //namespace goes