Files
gjm 164968b62e chore
把非utf8-bom编码的cpp/h文件改为 utf8 bom 编码, msvc识别utf8编码时,如果不是bom格式的,会使用当前cp_oem来解码.
2026-10-04 00:04:20 +08:00

48 lines
1.1 KiB
C++

//-----------------------------------------------------------------------------+
// Copyright (C), 1998-2007, Beijing Tangent Software Co. Ltd.
// = FileName : TPGeGridNode.h
// = Version : ver2.0
// = Author : xlc
// = CreateDate : 2002-09-09
// = Description: 夹点对象类的声明 网格交点
// = Maintainers:
//
//------------------------------------------------------------------------------+
#ifndef _TPGEGRIDNODE_H_
#define _TPGEGRIDNODE_H_
#ifndef _TGPOINT_H_
#include "TGPoint.h"
#endif
class GEOAPI TPGeGridNode : public TGPoint
{
public:
TPGeGridNode(int type = 0);
TPGeGridNode(const TGPoint& pt,int type = 0);
TPGeGridNode(const TPGeGridNode&node);
virtual ~TPGeGridNode();
void SetVisible(bool bVisible);
bool IsVisibleNode() const;
bool IsBoundaryNode() const;
bool operator <(const TPGeGridNode&node) const;
bool operator >(const TPGeGridNode&node) const;
public:
int m_nType;//0,不可见网格点;1,可见网格点;2,边界点(外边界内或外边界上可见)
double m_nPara;//外边界线上参数
};
#endif