54 lines
1021 B
C++
54 lines
1021 B
C++
//-----------------------------------------------------------------------------+
|
|
// Copyright (C), 1998-2007, Beijing Tangent Software Co. Ltd.
|
|
// = FileName : TPtList2.h
|
|
// = Version : ver2.0
|
|
// = Author : xlc
|
|
// = CreateDate : 2002-09-09
|
|
// = Description: ÀàµÄÉùÃ÷
|
|
// = Maintainers:
|
|
//
|
|
//-----------------------------------------------------------------------------+
|
|
#ifndef _TPTLIST2_H_
|
|
#define _TPTLIST2_H_
|
|
|
|
#ifndef _TPTLIST1_H_
|
|
#include "TPtList1.h"
|
|
#endif
|
|
|
|
#ifndef _TGPOINT_H_
|
|
#include "TGPoint.h"
|
|
#endif
|
|
|
|
#ifndef _TGMLINE2D_H_
|
|
#include "TGMLine2D.h"
|
|
#endif
|
|
|
|
class GEOAPI TPtList2 : public TPtList1
|
|
{
|
|
public:
|
|
TPtList2();
|
|
|
|
TPtList2(const TGMLine2D& mLine);
|
|
|
|
TPtList2(const TGPoint& pt, double PA = 0);
|
|
|
|
~TPtList2();
|
|
|
|
TPtList2 *Next()const;
|
|
|
|
TPtList2 *GetTail()const;
|
|
|
|
bool operator ==(const TPtList2& pt)const;
|
|
|
|
bool operator !=(const TPtList2& pt)const;
|
|
|
|
bool operator >(const TPtList2& pt)const;
|
|
|
|
bool operator <(const TPtList2& pt)const;
|
|
|
|
public:
|
|
|
|
double pa;
|
|
};
|
|
|
|
#endif |