📄 edgeendbundle.h
字号:
/********************************************************************** * $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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -