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

📄 hotpixel.inl

📁 在Linux下做的QuadTree的程序
💻 INL
字号:
/********************************************************************** * $Id: HotPixel.inl 1820 2006-09-06 16:54:23Z mloskot $ * * GEOS - Geometry Engine Open Source * http://geos.refractions.net * * Copyright (C) 2005-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_NODING_SNAPROUND_HOTPIXEL_INL#define GEOS_NODING_SNAPROUND_HOTPIXEL_INL#include <geos/noding/snapround/HotPixel.h>#include <geos/util/math.h>#include <geos/geom/Coordinate.h>namespace geos {namespace noding { // geos::nodingnamespace snapround { // geos::noding::snaproundINLINE doubleHotPixel::scale(double val) const{	// Math.round	//return round(val*scaleFactor);	return util::round(val*scaleFactor);}INLINE voidHotPixel::copyScaled(const geom::Coordinate& p, geom::Coordinate& pScaled) const{	pScaled.x = scale(p.x);	pScaled.y = scale(p.y);}} // namespace geos::noding::snapround} // namespace geos::noding} // namespace geos#endif // GEOS_NODING_SNAPROUND_HOTPIXEL_INL

⌨️ 快捷键说明

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