亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? geom.h

?? 一個很好的vc代碼
?? H
?? 第 1 頁 / 共 5 頁
字號:
/********************************************************************** * $Id: geom.h,v 1.34.2.1 2005/05/23 18:16:40 strk Exp $ * * GEOS - Geometry Engine Open Source * http://geos.refractions.net * * Copyright (C) 2001-2002 Vivid Solutions Inc. * Copyright (C) 2005 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_GEOM_H#define GEOS_GEOM_H#include <memory>#include <iostream>#include <string>#include <vector>#include <algorithm>#include <map>#include <cmath>#include <geos/platform.h>using namespace std;/** * \brief Basic namespace for all GEOS functionalities. */namespace geos {/// Return current GEOS versionstring geosversion();/** * \brief * Return the version of JTS this GEOS * release has been ported from. */string jtsport();/// Geometry typesenum GeometryTypeId {	/// a point	GEOS_POINT,	/// a linestring	GEOS_LINESTRING,	/// a linear ring (linestring with 1st point == last point)	GEOS_LINEARRING,	/// a polygon	GEOS_POLYGON,	/// a collection of points	GEOS_MULTIPOINT,	/// a collection of linestrings	GEOS_MULTILINESTRING,	/// a collection of polygons	GEOS_MULTIPOLYGON,	/// a collection of heterogeneus geometries	GEOS_GEOMETRYCOLLECTION};class Coordinate;/** * \class PrecisionModel geom.h geos.h * * \brief Specifies the precision model of the Coordinate in a Geometry. * * In other words, specifies the grid of allowable * points for all <code>Geometry</code>s. *  * The makePrecise method allows rounding a coordinate to * a "precise" value; that is, one whose * precision is known exactly. * * Coordinates are assumed to be precise in geometries. * That is, the coordinates are assumed to be rounded to the * precision model given for the geometry. * JTS input routines automatically round coordinates to the precision model * before creating Geometries. * All internal operations * assume that coordinates are rounded to the precision model. * Constructive methods (such as boolean operations) always round computed * coordinates to the appropriate precision model. * * Currently three types of precision model are supported: * - FLOATING - represents full double precision floating point. *   This is the default precision model used in JTS * - FLOATING_SINGLE - represents single precision floating point. * - FIXED - represents a model with a fixed number of decimal places. *   A Fixed Precision Model is specified by a scale factor. *   The scale factor specifies the grid which numbers are rounded to. *   Input coordinates are mapped to fixed coordinates according to the *   following equations: *   - jtsPt.x = round( (inputPt.x * scale ) / scale *   - jtsPt.y = round( (inputPt.y * scale ) / scale * * Coordinates are represented internally as Java double-precision values. * Since Java uses the IEEE-394 floating point standard, this * provides 53 bits of precision. (Thus the maximum precisely representable * integer is 9,007,199,254,740,992). * * JTS methods currently do not handle inputs with different precision models. */class PrecisionModel {friend class Unload;public:	/// The types of Precision Model which GEOS supports.	/*	* This class is only for use to support the "enums"	* for the types of precision model.	*/	typedef enum {		/**		* Fixed Precision indicates that coordinates have a fixed		* number of decimal places.		* The number of decimal places is determined by the log10		* of the scale factor.		*/		FIXED,		/**		* Floating precision corresponds to the standard Java		* double-precision floating-point representation, which is		* based on the IEEE-754 standard		*/		FLOATING,		/**		* Floating single precision corresponds to the standard Java		* single-precision floating-point representation, which is		* based on the IEEE-754 standard		*/		FLOATING_SINGLE	} Type;		/// Creates a PrecisionModel with a default precision of FLOATING.	PrecisionModel(void);	/// Creates a PrecisionModel specifying an explicit precision model type.	/**	* If the model type is FIXED the scale factor will default to 1.	*	* @param nModelType the type of the precision model	*/	PrecisionModel(Type nModelType);	/*	 * Creates a <code>PrecisionModel</code> with Fixed precision.	 *	 * Fixed-precision coordinates are represented as precise internal	 * coordinates, which are rounded to the grid defined by the	 * scale factor.	 *	 * @param  scale	 *	amount by which to multiply a coordinate after subtracting	 *	the offset, to obtain a precise coordinate	 * @param  offsetX  not used.	 * @param  offsetY  not used.	 *	 * @deprecated offsets are no longer supported, since internal	 * representation is rounded floating point	 */	PrecisionModel(double newScale, double newOffsetX, double newOffsetY);	/**	 * \brief 	 * Creates a PrecisionModel with Fixed precision.	 *	 * Fixed-precision coordinates are represented as precise	 * internal coordinates which are rounded to the grid defined	 * by the scale factor.	 *	 * @param newScale amount by which to multiply a coordinate	 * after subtracting the offset, to obtain a precise coordinate	 */	PrecisionModel(double newScale);	// copy constructor	PrecisionModel(const PrecisionModel &pm);	/// destructor	virtual ~PrecisionModel(void);	/// The maximum precise value representable in a double.	/**	 * Since IEE754 double-precision numbers allow 53 bits of mantissa,	 * the value is equal to 2^53 - 1.	 * This provides <i>almost</i> 16 decimal digits of precision.	 */	static const double maximumPreciseValue;	/// Rounds a numeric value to the PrecisionModel grid.	double makePrecise(double val) const;	/// Rounds the given Coordinate to the PrecisionModel grid.	void makePrecise(Coordinate *coord) const;	/// Tests whether the precision model supports floating point	/**	* @return <code>true</code> if the precision model supports	* floating point	*/	bool isFloating() const;	/// Returns the maximum number of significant digits provided by this precision model.	/**	* Intended for use by routines which need to print out precise values.	*	* @return the maximum number of decimal places provided by this precision model	*/	int getMaximumSignificantDigits() const;	/// Gets the type of this PrecisionModel	/**	* @return the type of this PrecisionModel	*/	Type getType() const;	/// Returns the multiplying factor used to obtain a precise coordinate.	double getScale() const;	/*	* Returns the x-offset used to obtain a precise coordinate.	*	* @return the amount by which to subtract the x-coordinate before	*         multiplying by the scale	* @deprecated Offsets are no longer used	*/	double getOffsetX() const;	/*	* Returns the y-offset used to obtain a precise coordinate.	*	* @return the amount by which to subtract the y-coordinate before	*         multiplying by the scale	* @deprecated Offsets are no longer used	*/	double getOffsetY() const;	/*	 *  Sets <code>internal</code> to the precise representation of <code>external</code>.	 *	 * @param external the original coordinate	 * @param internal the coordinate whose values will be changed to the	 *                 precise representation of <code>external</code>	 * @deprecated use makePrecise instead	 */	void toInternal(const Coordinate& external, Coordinate* internal) const;	/*	*  Returns the precise representation of <code>external</code>.	*	*@param  external  the original coordinate	*@return	*	the coordinate whose values will be changed to the precise	*	representation of <code>external</code>	* @deprecated use makePrecise instead	*/	Coordinate* toInternal(const Coordinate& external) const;	/*	*  Returns the external representation of <code>internal</code>.	*	*@param  internal  the original coordinate	*@return           the coordinate whose values will be changed to the	*      external representation of <code>internal</code>	* @deprecated no longer needed, since internal representation is same as external representation	*/	Coordinate* toExternal(const Coordinate& internal) const;	/*	*  Sets <code>external</code> to the external representation of	*  <code>internal</code>.	*	* @param  internal  the original coordinate	* @param  external	*	the coordinate whose values will be changed to the	*	external representation of <code>internal</code>	* @deprecated no longer needed, since internal representation is same as external representation	*/	void toExternal(const Coordinate& internal, Coordinate* external) const;	string toString() const;	/// Compares this PrecisionModel object with the specified object for order.	/**	* A PrecisionModel is greater than another if it provides greater precision.	* The comparison is based on the value returned by the	* getMaximumSignificantDigits method.	* This comparison is not strictly accurate when comparing floating	* precision models to fixed models;	* however, it is correct when both models are either floating or fixed.	*	* @param other the PrecisionModel with which this PrecisionModel	*      is being compared	* @return a negative integer, zero, or a positive integer as this	*      PrecisionModel is less than, equal to, or greater than the	*      specified PrecisionModel.	*/	int compareTo(const PrecisionModel* other) const;private:	void setScale(double newScale);	Type modelType;	double scale;#ifdef INT64_CONST_IS_I64	static const int64 serialVersionUID = 7777263578777803835I64;#else        	static const int64 serialVersionUID = 7777263578777803835LL;#endif        };/** * \class Coordinate geom.h geos.h * * \brief * Coordinate is the lightweight class used to store coordinates. * * It is distinct from Point, which is a subclass of Geometry. * Unlike objects of type Point (which contain additional * information such as an envelope, a precision model, and spatial * reference system information), a Coordinate only contains * ordinate values and accessor methods.  * * Coordinate objects are two-dimensional points, with an additional * z-ordinate. JTS does not support any operations on the z-ordinate except * the basic accessor functions. * * Constructed coordinates will have a z-ordinate of DoubleNotANumber. * The standard comparison functions will ignore the z-ordinate. * */class Coordinate {public:	//void setNull(void);	//static Coordinate& getNull(void);	virtual ~Coordinate(){};	//Coordinate(double xNew, double yNew, double zNew);	//Coordinate(const Coordinate& c);	//Coordinate(double xNew, double yNew);	//void setCoordinate(Coordinate& other);	//bool equals2D(Coordinate& other);	//int compareTo(Coordinate& other);	//bool equals3D(Coordinate& other);	string toString() const;	//void makePrecise();	//double distance(Coordinate& p);	static Coordinate nullCoord;	void Coordinate::setNull() {		x=DoubleNotANumber;		y=DoubleNotANumber;		z=DoubleNotANumber;	}	static Coordinate& Coordinate::getNull() {		return nullCoord;	}	Coordinate::Coordinate() {		x=0.0;		y=0.0;		z=DoubleNotANumber;	}	Coordinate::Coordinate(double xNew, double yNew, double zNew) {		x=xNew;		y=yNew;		z=zNew;	}	Coordinate::Coordinate(const Coordinate& c){		x=c.x;		y=c.y;		z=c.z;	}	Coordinate::Coordinate(double xNew, double yNew){		x=xNew;		y=yNew;		z=DoubleNotANumber;	}	void Coordinate::setCoordinate(const Coordinate& other) {		x = other.x;		y = other.y;		z = other.z;	}	bool Coordinate::equals2D(const Coordinate& other) const {		if (x != other.x) {		return false;		}		if (y != other.y) {		return false;		}		return true;

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
蜜桃视频一区二区三区| 亚洲国产精品精华液ab| 国产专区综合网| 伊人开心综合网| 国产色爱av资源综合区| 欧美日韩国产影片| 成人综合日日夜夜| 日本不卡不码高清免费观看| 亚洲色图色小说| 久久综合九色欧美综合狠狠| 欧美日韩一区二区在线观看视频| 国产一二精品视频| 婷婷综合五月天| 亚洲黄色小视频| 欧美国产成人精品| 日韩精品一区在线| 欧美视频一区二区三区在线观看 | 免费在线观看视频一区| 亚洲国产激情av| 日韩美女视频在线| 欧美日韩精品专区| gogo大胆日本视频一区| 国产一区二区三区免费播放| 亚洲a一区二区| 亚洲精品高清在线| 亚洲欧洲av色图| 国产日产精品1区| 欧美zozo另类异族| 在线电影院国产精品| 欧美性高清videossexo| 99re这里只有精品视频首页| 国产乱码一区二区三区| 久久av资源站| 麻豆极品一区二区三区| 免费欧美日韩国产三级电影| 三级精品在线观看| 天堂久久一区二区三区| 午夜欧美视频在线观看 | 久久奇米777| 精品嫩草影院久久| 精品久久一区二区| 欧美大白屁股肥臀xxxxxx| 7777精品伊人久久久大香线蕉经典版下载 | 99久久国产综合精品色伊| 国产福利精品导航| 国产91精品一区二区麻豆亚洲| 国产一区二区三区av电影| 国产一区二区影院| 国产成人在线免费观看| 国产精品综合网| 粉嫩蜜臀av国产精品网站| 国产 欧美在线| voyeur盗摄精品| 色诱亚洲精品久久久久久| 91久久香蕉国产日韩欧美9色| 91官网在线观看| 欧美三级蜜桃2在线观看| 欧美精品aⅴ在线视频| 欧美一激情一区二区三区| 日韩欧美一区二区久久婷婷| 精品国产不卡一区二区三区| 久久蜜臀中文字幕| 亚洲欧美在线观看| 亚洲国产综合91精品麻豆| 日本sm残虐另类| 国产精品1区二区.| 色婷婷综合久久久久中文 | 99v久久综合狠狠综合久久| 91黄色免费版| 欧美一区二区三区免费视频| 久久影院午夜片一区| 国产精品久久久久久久久图文区| 一区二区三区加勒比av| 免费不卡在线观看| 成人av中文字幕| 欧日韩精品视频| 精品久久久久久无| 国产精品第13页| 三级欧美在线一区| 国产成人在线影院| 欧美性xxxxx极品少妇| 精品久久人人做人人爱| 亚洲人成亚洲人成在线观看图片| 日韩精品久久久久久| 国产精品亚洲午夜一区二区三区 | 国产精品美女久久久久久久久 | 欧美视频一区二区三区在线观看| 精品人在线二区三区| 国产精品午夜免费| 奇米影视一区二区三区小说| 北条麻妃国产九九精品视频| 欧美高清视频一二三区| 国产精品女人毛片| 琪琪一区二区三区| 色94色欧美sute亚洲线路一久| 欧美va日韩va| 亚洲国产精品一区二区尤物区| 国产永久精品大片wwwapp| 91啪在线观看| www国产亚洲精品久久麻豆| 一区二区三区欧美亚洲| 国产精品白丝jk黑袜喷水| 欧美日韩欧美一区二区| 国产精品嫩草99a| 久久精品国产亚洲高清剧情介绍| 91在线视频播放地址| 精品国产伦一区二区三区免费| 亚洲激情在线播放| 成人sese在线| 欧美成人a视频| 亚洲国产精品麻豆| 91亚洲国产成人精品一区二区三| 精品三级av在线| 日本一不卡视频| 欧美性猛交xxxx黑人交| 亚洲区小说区图片区qvod| 国产成人免费在线视频| 精品蜜桃在线看| 日韩成人dvd| 欧美三级欧美一级| 洋洋成人永久网站入口| 91网页版在线| 国产精品麻豆网站| 国产精品18久久久久久久久| 欧美va在线播放| 麻豆久久一区二区| 日韩色视频在线观看| 日韩黄色片在线观看| 欧美高清激情brazzers| 亚洲午夜激情网站| 欧美午夜影院一区| 亚洲国产综合人成综合网站| 色88888久久久久久影院野外| 国产精品乱码一区二区三区软件| 国产高清久久久| 国产亲近乱来精品视频| 国产精品12区| 中文子幕无线码一区tr| 成人午夜看片网址| 国产精品另类一区| av在线不卡免费看| 亚洲视频狠狠干| 色先锋资源久久综合| 樱花草国产18久久久久| 欧美在线观看视频在线| 午夜精品久久久久久久99水蜜桃| 欧美日韩午夜精品| 日韩成人免费看| 精品国产免费人成电影在线观看四季| 精品综合久久久久久8888| 亚洲精品一区二区精华| 国产91精品久久久久久久网曝门| 亚洲国产高清不卡| 91麻豆123| 亚洲成av人片在线观看| 日韩欧美一卡二卡| 国产精品一品二品| 亚洲天堂av一区| 欧美视频日韩视频| 在线精品视频免费播放| 午夜精品福利在线| 精品国产一区二区三区av性色| 国精产品一区一区三区mba桃花| 国产三级欧美三级日产三级99| 成人午夜电影久久影院| 一区二区三区美女| 日韩欧美国产三级电影视频| 国产精品伊人色| 亚洲毛片av在线| 欧美精品aⅴ在线视频| 精油按摩中文字幕久久| 国产精品国产三级国产aⅴ入口 | gogogo免费视频观看亚洲一| 一区二区在线电影| 欧美videos中文字幕| 99在线精品免费| 奇米色一区二区三区四区| 欧美国产乱子伦 | 国产成人免费在线视频| 一区二区三区免费| 26uuu另类欧美| 欧美mv和日韩mv国产网站| 日本一区二区综合亚洲| 丁香婷婷综合激情五月色| 一区二区三区四区av| 在线播放/欧美激情| 国产91在线观看| 日韩中文字幕91| 国产精品美女久久久久久| 在线成人高清不卡| 成人动漫在线一区| 蜜臀久久99精品久久久久久9| 中文无字幕一区二区三区| 欧美精品丝袜久久久中文字幕| 国产 欧美在线| 青青草国产精品亚洲专区无| 亚洲欧美激情插| 2017欧美狠狠色| 欧美剧情片在线观看| av在线播放一区二区三区|