48 lines
1.1 KiB
C++
48 lines
1.1 KiB
C++
//-----------------------------------------------------------------------------+
|
|
// Copyright (C), 1998-2007, SH Software Co. Ltd.
|
|
// = FileName : XArcSection.h
|
|
// = Version : ver2.0
|
|
// = Author : zjq
|
|
// = CreateDate : 2002-09-09
|
|
// = Description: 圆弧截面类的声明
|
|
// = Maintainers:
|
|
//
|
|
//-----------------------------------------------------------------------------+
|
|
#ifndef _XArcSection_H_
|
|
#define _XArcSection_H_
|
|
|
|
#ifndef _XARC_H_
|
|
#include "XArc.h"
|
|
#endif
|
|
|
|
#ifndef _XEXPLODESTREAMBASE_H_
|
|
#include "XExplodeStreamBase.h"
|
|
#endif
|
|
|
|
class GEOAPI XArcSection : public XArc
|
|
{
|
|
public:
|
|
|
|
XArcSection(const XArc &a, ads_real ws=_AS_SYS_UNIT(800), ads_real wh=_AS_SYS_UNIT(1800), BOOL bArc=FALSE);
|
|
|
|
XArcSection(const XArcSection &src);
|
|
|
|
XArcSection();
|
|
virtual ~XArcSection();
|
|
|
|
XArcSection & operator = (const XArcSection &src);
|
|
|
|
int MakeWall(XExplodeDraw &dc, const XArc &iArc, const XArc &oArc,
|
|
ads_real iWidth, ads_real oWidth, ads_real height,int nDiv=30) const;
|
|
|
|
public:
|
|
|
|
ads_real winSill; // 窗台高度
|
|
|
|
ads_real winHeight; // 门窗高度
|
|
|
|
BOOL m_bArcWin; //是否为弧窗
|
|
};
|
|
|
|
#endif
|