33 lines
919 B
C++
33 lines
919 B
C++
// XWindow.h: interface for the XWindow class.
|
|
//
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
#if !defined(AFX_XWINDOW_H__DDFA0661_A3AE_4F0E_B89B_968B2ADA77B3__INCLUDED_)
|
|
#define AFX_XWINDOW_H__DDFA0661_A3AE_4F0E_B89B_968B2ADA77B3__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
#include "Xblock.h"
|
|
|
|
class TELAPI XWindow : public XBlock
|
|
{
|
|
public:
|
|
XWindow(Entity entWin);
|
|
virtual ~XWindow();
|
|
//目前只能插窗和方柱
|
|
BOOL GetInsEquipPt(XPoint &ptPick, double &nRotate, double nDist=0);
|
|
BOOL m_bIsDoor;
|
|
XPoint m_ptIns, m_ptSideFront, m_ptSideBack;
|
|
int m_nQuadrant;
|
|
double m_nRotate;
|
|
double m_nWallWidth;
|
|
Entity m_entShortWall, m_entLongWall1, m_entLongWall2;
|
|
BOOL m_bIsDoorTch5;
|
|
protected:
|
|
DList<XLine> m_lstLine;
|
|
BOOL GetPickOnLine(XPoint ptPick, XLine &line);
|
|
};
|
|
|
|
#endif // !defined(AFX_XWINDOW_H__DDFA0661_A3AE_4F0E_B89B_968B2ADA77B3__INCLUDED_)
|