50 lines
1.3 KiB
C++
50 lines
1.3 KiB
C++
//-------------------------------------------------------------------------------------------------------+
|
|
// Copyright (C), 1998-2007, SH Software Co. Ltd.
|
|
// = FileName : XArc3DWall.h
|
|
// = Version : ver2.0
|
|
// = Author : zjq
|
|
// = CreateDate : 2002-09-09
|
|
// = Description: 3维弧墙圆弧类的声明
|
|
// = Maintainers:
|
|
//
|
|
//-------------------------------------------------------------------------------------------------------+
|
|
#ifndef _XArc3DWall_H_
|
|
#define _XArc3DWall_H_
|
|
|
|
#ifndef _XARC_H_
|
|
#include "XArc.h"
|
|
#endif
|
|
|
|
#ifndef _PDLIST_H_
|
|
#include "PDList.h"
|
|
#endif
|
|
|
|
#ifndef _XEXPLODESTREAMBASE_H_
|
|
#include "XExplodeStreamBase.h"
|
|
#endif
|
|
|
|
#ifndef _XArcSection_H_
|
|
#include "XArcSection.h"
|
|
#endif
|
|
|
|
class GEOAPI XArc3DWall : public XArc
|
|
{
|
|
public:
|
|
XArc3DWall(const XArc &a, ads_real h = _AS_SYS_UNIT(4000), ads_real iD = _AS_SYS_UNIT(120), ads_real oD = _AS_SYS_UNIT(240));
|
|
|
|
virtual ~XArc3DWall();
|
|
|
|
int MakeWall(XExplodeDraw &dc, const XArc &iArc, const XArc &oArc, DList<XArcSection> &holes);
|
|
|
|
public:
|
|
ads_real iDist, oDist;
|
|
ads_real height;
|
|
|
|
private:
|
|
int MakeArcWallSeg(XExplodeDraw &dc, const XArc &arc, ads_real height, ads_real iDist, ads_real oDist, int bShowStart, int bShowEnd);
|
|
void MakeArcWallSeg(XExplodeDraw &dc,const XArc &iArc, const XArc &oArc, ads_real height, int bShowStart, int bShowEnd);
|
|
|
|
};
|
|
|
|
#endif
|