⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 maximaledgering.h

📁 在Linux下做的QuadTree的程序
💻 H
字号:
/********************************************************************** * $Id: MaximalEdgeRing.h 1820 2006-09-06 16:54:23Z mloskot $ * * GEOS - Geometry Engine Open Source * http://geos.refractions.net * * Copyright (C) 2006 Refractions Research Inc. * * This is free software; you can redistribute and/or modify it under * the terms of the GNU Lesser General Public Licence as published * by the Free Software Foundation.  * See the COPYING file for more information. * **********************************************************************/#ifndef GEOS_OP_OVERLAY_MAXIMALEDGERING_H#define GEOS_OP_OVERLAY_MAXIMALEDGERING_H#include <vector>#include <geos/geomgraph/EdgeRing.h> // for inheritance// Forward declarationsnamespace geos {	namespace geom {		class GeometryFactory;	}	namespace geomgraph {		class DirectedEdge;		//class EdgeRing;	}	namespace operation {		namespace overlay {			class MinimalEdgeRing;		}	}}namespace geos {namespace operation { // geos::operationnamespace overlay { // geos::operation::overlay/** \brief * A ring of {@link edges} which may contain nodes of degree > 2. * * A MaximalEdgeRing may represent two different spatial entities: *  * - a single polygon possibly containing inversions (if the ring is oriented CW) * - a single hole possibly containing exversions (if the ring is oriented CCW) *  * If the MaximalEdgeRing represents a polygon, * the interior of the polygon is strongly connected. *  * These are the form of rings used to define polygons under some spatial data models. * However, under the OGC SFS model, {@link MinimalEdgeRings} are required. * A MaximalEdgeRing can be converted to a list of MinimalEdgeRings using the * {@link #buildMinimalRings() } method. * * @see com.vividsolutions.jts.operation.overlay.MinimalEdgeRing */class MaximalEdgeRing: public geomgraph::EdgeRing {public:	// CGAlgorithms arg is obsoleted	MaximalEdgeRing(geomgraph::DirectedEdge *start,		const geom::GeometryFactory *geometryFactory);	virtual ~MaximalEdgeRing();	geomgraph::DirectedEdge* getNext(geomgraph::DirectedEdge *de);	void setEdgeRing(geomgraph::DirectedEdge* de, geomgraph::EdgeRing* er);	/// \brief	/// This function returns a newly allocated vector of	/// pointers to newly allocated MinimalEdgeRing objects.	///	std::vector<MinimalEdgeRing*>* buildMinimalRings();	/// \brief	/// This function pushes pointers to newly allocated  MinimalEdgeRing	/// objects to the provided vector.	///	void buildMinimalRings(std::vector<MinimalEdgeRing*>& minEdgeRings);	/// \brief	/// For all nodes in this EdgeRing,	/// link the DirectedEdges at the node to form minimalEdgeRings	///	void linkDirectedEdgesForMinimalEdgeRings();};} // namespace geos::operation::overlay} // namespace geos::operation} // namespace geos#endif // ndef GEOS_OP_OVERLAY_MAXIMALEDGERING_H/********************************************************************** * $Log$ * Revision 1.2  2006/03/27 16:02:34  strk * Added INL file for MinimalEdgeRing, added many debugging blocks, * fixed memory leak in ConnectedInteriorTester (bug #59) * * Revision 1.1  2006/03/17 13:24:59  strk * opOverlay.h header splitted. Reduced header inclusions in operation/overlay implementation files. ElevationMatrixFilter code moved from own file to ElevationMatrix.cpp (ideally a class-private). * **********************************************************************/

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -