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

📄 interval.h

📁 在Linux下做的QuadTree的程序
💻 H
字号:
/********************************************************************** * $Id: Interval.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_INDEX_STRTREE_INTERVAL_H#define GEOS_INDEX_STRTREE_INTERVAL_Hnamespace geos {namespace index { // geos::indexnamespace strtree { // geos::index::strtree/// A contiguous portion of 1D-space. Used internally by SIRtree.///// @see SIRtree///class Interval {public:	Interval(Interval *other);	Interval(double newMin, double newMax);	double getCentre();	Interval* expandToInclude(Interval *other);	bool intersects(Interval *other);	bool equals(void *o);private:	double imin;	double imax;};} // namespace geos::index::strtree} // namespace geos::index} // namespace geos#endif // GEOS_INDEX_STRTREE_INTERVAL_H/********************************************************************** * $Log$ * Revision 1.1  2006/03/21 10:47:34  strk * indexStrtree.h split * **********************************************************************/

⌨️ 快捷键说明

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