Files

47 lines
1.1 KiB
C++
Raw Permalink Normal View History

2026-10-04 00:04:20 +08:00
//-----------------------------------------------------------------------------+
2026-09-28 15:28:50 +08:00
// Copyright (C), 1998-2007, SH Software Co. Ltd.
// = FileName : XArcSection.h
// = Version : ver2.0
// = Author : zjq
// = CreateDate : 2002-09-09
2026-10-04 00:04:20 +08:00
// = Description: 圆弧截面类的声明
2026-09-28 15:28:50 +08:00
// = 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:
2026-10-04 00:04:20 +08:00
ads_real winSill; // 窗台高度
2026-09-28 15:28:50 +08:00
2026-10-04 00:04:20 +08:00
ads_real winHeight; // 门窗高度
2026-09-28 15:28:50 +08:00
2026-10-04 00:04:20 +08:00
BOOL m_bArcWin; //是否为弧窗
2026-09-28 15:28:50 +08:00
};
#endif