34 lines
826 B
C++
34 lines
826 B
C++
//-----------------------------------------------------------------------------+
|
|
// Copyright (C), 1998-2007, Beijing Tangent Software Co. Ltd.
|
|
// = FileName : TPGeEdgePath.h
|
|
// = Version : ver2.0
|
|
// = Author : xlc
|
|
// = CreateDate : 2002-09-09
|
|
// = Description: 类的声明 路径
|
|
// = Maintainers:
|
|
//
|
|
//-----------------------------------------------------------------------------+
|
|
#ifndef _TPGEEDGEPATH_H_
|
|
#define _TPGEEDGEPATH_H_
|
|
|
|
#ifndef _TDUALPTRLIST_H_
|
|
#include "TDualPtrList.h"
|
|
#endif
|
|
|
|
class TPGeEdge;
|
|
class TPGeCurve2D;
|
|
|
|
class GEOAPI TPGeEdgePath : public TDualPtrList< TPGeEdge* >
|
|
{
|
|
public:
|
|
~TPGeEdgePath();
|
|
|
|
//将路径转化为曲线,如果段数大于1,则结果为CMCurve2D
|
|
TPGeCurve2D* CreateCurve();
|
|
|
|
bool operator>(const TPGeEdgePath&) const;
|
|
|
|
bool operator<(const TPGeEdgePath&) const;
|
|
};
|
|
|
|
#endif |