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

66 lines
1.2 KiB
C++

//-----------------------------------------------------------------------------+
// Copyright (C), 1998-2007, Beijing Tangent Software Co. Ltd.
// = FileName : TPtGraph.h
// = Version : ver2.0
// = Author : xlc
// = CreateDate : 2002-09-09
// = Description: 类的声明
// = Maintainers:
//
//-----------------------------------------------------------------------------+
#ifndef _TPTGRAPH_H_
#define _TPTGRAPH_H_
#ifndef _TPDLIST_H_
#include "TPDList.h"
#endif
#ifndef _TPTNODE_H_
#include "TPtNode.h"
#endif
#ifndef _TGMLINE2D_H_
#include "TGMLine2D.h"
#endif
#ifndef _TLIST_H_
#include "TList.h"
#endif
class GEOAPI TPtGraph : public TPDList<TPtNode>
{
public:
TPtGraph();
virtual ~TPtGraph();
void ClearRef();
void InsertA(TPtNode* p);
void InsertB(TPtNode* p);
void AppendA(TPtNode* p);
void AppendB(TPtNode* p);
void AppendC(TPtNode* p);
void AppendRef(long i);
void MakeListIn(TPDList<TPtList> &res);
void MakeListOut(TPDList<TPtList> &res);
void CreatePtGraphA(const TGMLine2D& mline);
void CreatePtGraphB(const TGMLine2D& mline);
bool CreatePtGraphC(const TGMLine2D& mLineA,const TGMLine2D& mLineB);
protected:
TList<long >refList;
};
#endif