49 lines
1.4 KiB
C++
49 lines
1.4 KiB
C++
//-------------------------------------------------------------------------------------------------------+
|
|
// Copyright (C), 1998-2007, Beijing Tangent Software Co. Ltd.
|
|
// = FileName : TArc3DWall.h
|
|
// = Version : ver2.0
|
|
// = Author : xlc
|
|
// = CreateDate : 2002-09-09
|
|
// = Description: 3维弧墙圆弧类的声明
|
|
// = Maintainers:
|
|
//
|
|
//-------------------------------------------------------------------------------------------------------+
|
|
#ifndef _TARC3DWALL_H_
|
|
#define _TARC3DWALL_H_
|
|
|
|
#ifndef _TGGEARC_H_
|
|
#include "TGGeArc.h"
|
|
#endif
|
|
|
|
#ifndef _TPDLIST_H_
|
|
#include "TPDList.h"
|
|
#endif
|
|
|
|
#ifndef _TGGIEXPLODEDRAWBASE_H_
|
|
#include "TGGiExplodeDrawBase.h"
|
|
#endif
|
|
|
|
#ifndef _TARCSECTION_H_
|
|
#include "TArcSection.h"
|
|
#endif
|
|
|
|
class GEOAPI TArc3DWall : public TGGeArc
|
|
{
|
|
public:
|
|
TArc3DWall(const TGGeArc &a, ads_real h = _AS_SYS_UNIT(4000), ads_real iD = _AS_SYS_UNIT(120), ads_real oD = _AS_SYS_UNIT(240));
|
|
|
|
virtual ~TArc3DWall();
|
|
|
|
int MakeWall(TGGiExplodeDrawBase &dc, const TGGeArc &iArc, const TGGeArc &oArc, TDPtrList<TArcSection> &holes);
|
|
|
|
public:
|
|
ads_real iDist, oDist;
|
|
ads_real height;
|
|
|
|
private:
|
|
int MakeArcWallSeg(TGGiExplodeDrawBase &dc, const TGGeArc &arc, ads_real height, ads_real iDist, ads_real oDist, int bShowStart, int bShowEnd);
|
|
void MakeArcWallSeg(TGGiExplodeDrawBase &dc,const TGGeArc &iArc, const TGGeArc &oArc, ads_real height, int bShowStart, int bShowEnd);
|
|
|
|
};
|
|
|
|
#endif |