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

📄 ugkcurve.cpp

📁 linux下一款GIS程序源码
💻 CPP
字号:
// ugkcurve.cpp: implementation of the UGKCurve class.////////////////////////////////////////////////////////////////////////#include "ugkcurve.h"UGKCurve::UGKCurve(){}UGKCurve::~UGKCurve(){}/************************************************************************//*                            get_IsClosed()                            *//************************************************************************//** * Return TRUE if curve is closed. * * Tests if a curve is closed. A curve is closed if its start point is * equal to its end point. * * This method relates to the SFCOM ICurve::get_IsClosed() method. * * @return TRUE if closed, else FALSE. */int UGKCurve::get_IsClosed() const{    UGKPoint            oStartPoint, oEndPoint;    StartPoint( &oStartPoint );    EndPoint( &oEndPoint );    if( oStartPoint.getX() == oEndPoint.getX()        && oStartPoint.getY() == oEndPoint.getY() )    {        return TRUE;    }    else    {        return FALSE;    }}

⌨️ 快捷键说明

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