47 lines
1.1 KiB
C++
47 lines
1.1 KiB
C++
//-----------------------------------------------------------------------------+
|
|
// Copyright (C), 1998-2007, Beijing Tangent Software Co. Ltd.
|
|
// = FileName : TArcSection.h
|
|
// = Version : ver2.0
|
|
// = Author : xlc
|
|
// = CreateDate : 2002-09-09
|
|
// = Description: 圆弧截面类的声明
|
|
// = Maintainers:
|
|
//
|
|
//-----------------------------------------------------------------------------+
|
|
#ifndef _TARCSECTION_H_
|
|
#define _TARCSECTION_H_
|
|
|
|
#ifndef _TGGEARC_H_
|
|
#include "TGGeArc.h"
|
|
#endif
|
|
|
|
#ifndef _TGGIEXPLODEDRAWBASE_H_
|
|
#include "TGGiExplodeDrawBase.h"
|
|
#endif
|
|
|
|
class GEOAPI TArcSection : public TGGeArc
|
|
{
|
|
public:
|
|
|
|
TArcSection(const TGGeArc &a, ads_real ws=_AS_SYS_UNIT(800), ads_real wh=_AS_SYS_UNIT(1800), BOOL bArc=FALSE);
|
|
|
|
TArcSection(const TArcSection &src);
|
|
|
|
TArcSection();
|
|
virtual ~TArcSection();
|
|
|
|
TArcSection & operator = (const TArcSection &src);
|
|
|
|
int MakeWall(TGGiExplodeDrawBase &dc, const TGGeArc &iArc, const TGGeArc &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 |