47 lines
984 B
C++
47 lines
984 B
C++
//-------------------------------------------------------------------------------------------------------+
|
|
// Copyright (C), 1998-2007, Beijing Tangent Software Co. Ltd.
|
|
// = FileName : TPGeFitPath 类
|
|
// = Version : ver2.0
|
|
// = Author : wlw
|
|
// = CreateDate : 2002-09-09
|
|
// = Description: TPGeFitPath 声明 拟合线的点路径
|
|
// = Maintainers:
|
|
//
|
|
//-------------------------------------------------------------------------------------------------------+
|
|
|
|
#ifndef _TPGEFITPATH_H_
|
|
#define _TPGEFITPATH_H_
|
|
|
|
#ifndef _TDUALPTRLIST_H_
|
|
#include "TDualPtrList.h"
|
|
#endif
|
|
|
|
class TGMLine2D;
|
|
class TPGeDscPoint;
|
|
|
|
class GEOAPI TPGeFitPath : public TDualPtrList< TPGeDscPoint* >
|
|
{
|
|
public:
|
|
|
|
TPGeFitPath(double Z);
|
|
|
|
virtual ~TPGeFitPath();
|
|
|
|
void SetClosed();
|
|
|
|
TGMLine2D* CreateCurve();
|
|
|
|
bool operator >(const TPGeFitPath&) const;
|
|
|
|
bool operator <(const TPGeFitPath&) const;
|
|
|
|
public:
|
|
|
|
//拟合值
|
|
double z;
|
|
|
|
//是否闭合
|
|
bool bClosed;
|
|
};
|
|
|
|
#endif |