edgeendbundle.h

来自「在Linux下做的QuadTree的程序」· C头文件 代码 · 共 70 行

H
70
字号
/********************************************************************** * $Id: EdgeEndBundle.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_RELATE_EDGEENDBUNDLE_H#define GEOS_OP_RELATE_EDGEENDBUNDLE_H#include <geos/geomgraph/EdgeEnd.h> // for EdgeEndBundle inheritance#include <string>// Forward declarationsnamespace geos {	namespace geom {		class IntersectionMatrix;	}}namespace geos {namespace operation { // geos::operationnamespace relate { // geos::operation::relate/** \brief * Contains all geomgraph::EdgeEnd objectss which start at the same point * and are parallel. */class EdgeEndBundle: public geomgraph::EdgeEnd {public:	EdgeEndBundle(geomgraph::EdgeEnd *e);	virtual ~EdgeEndBundle();	geomgraph::Label *getLabel();//Iterator iterator() //Not needed	std::vector<geomgraph::EdgeEnd*>* getEdgeEnds();	void insert(geomgraph::EdgeEnd *e);	void computeLabel() ; 	void updateIM(geom::IntersectionMatrix *im);	std::string print();protected:	std::vector<geomgraph::EdgeEnd*> *edgeEnds;	void computeLabelOn(int geomIndex);	void computeLabelSides(int geomIndex);	void computeLabelSide(int geomIndex,int side);};} // namespace geos:operation:relate} // namespace geos:operation} // namespace geos#endif // GEOS_OP_RELATE_EDGEENDBUNDLE_H/********************************************************************** * $Log$ * Revision 1.1  2006/03/21 13:11:29  strk * opRelate.h header split * **********************************************************************/

⌨️ 快捷键说明

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