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

📄 tabellipse.h

📁 linux下一款GIS程序源码
💻 H
字号:
// tabellipse.h: interface for the TABEllipse class.///*--------------------------------------------------------------------- *                      class TABEllipse * * Feature class to handle the MapInfo ellipse types: * *     TAB_GEOM_ELLIPSE_C      0x19 *     TAB_GEOM_ELLIPSE        0x1a * * An ellipse is defined by the coords of its 2 opposite corners (the MBR) * * Feature geometry can be either an UGKPoint defining the center of the * ellipse, or an UGKPolygon defining the ellipse itself. * * When an ellipse is read, the returned geometry is a UGKPolygon representing * the ellipse with 2 degrees line segments. * * In the case of the UGKPoint, then the X/Y Radius MUST be set, but.   * However with an UGKPolygon, if the X/Y radius are not set (== 0) then * the MBR of the polygon will be used to define the ellipse parameters  * and the center of the MBR is used as the center of the ellipse...  * (i.e. the polygon vertices themselves will be ignored). *--------------------------------------------------------------------*/#ifndef  TABEllipse_H#define  TABEllipse_H#include "tabfeaturepen.h"#include "tabfeature.h"#include "tabfeaturebrush.h"class TABEllipse : 	public TABFeature, 	public TABFeaturePen, 	public TABFeatureBrush  {public:	TABEllipse(UGKFeatureDefn *poDefnIn);	virtual ~TABEllipse();    virtual TABFeatureClass GetFeatureClass() { return TABFCEllipse; };    virtual int             ValidateMapInfoType(TABMAPFile *poMapFile = NULL);    virtual TABFeature *CloneTABFeature(UGKFeatureDefn *poNewDefn = NULL );    virtual int ReadGeometryFromMAPFile(TABMAPFile *poMapFile, TABMAPObjHdr *);    virtual int WriteGeometryToMAPFile(TABMAPFile *poMapFile, TABMAPObjHdr *);    virtual int ReadGeometryFromMIFFile(MIDDATAFile *fp);    virtual int WriteGeometryToMIFFile(MIDDATAFile *fp);    virtual const char *GetStyleString();    virtual void DumpMIF(FILE *fpOut = NULL);    // MapInfo-specific attributes... made available through public vars    // for now.    double      m_dCenterX;    double      m_dCenterY;    double      m_dXRadius;    double      m_dYRadius;};#endif 

⌨️ 快捷键说明

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