//-----------------------------------------------------------------------------+ // 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 { 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 &res); void MakeListOut(TPDList &res); void CreatePtGraphA(const TGMLine2D& mline); void CreatePtGraphB(const TGMLine2D& mline); bool CreatePtGraphC(const TGMLine2D& mLineA,const TGMLine2D& mLineB); protected: TListrefList; }; #endif