Files
envi-code/SourceCode/Code2026/tg_shs/inc/subgeo/TPtGraph.h
T
2026-09-28 15:28:50 +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