48 lines
1.0 KiB
C++
48 lines
1.0 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 |