42 lines
1020 B
C++
42 lines
1020 B
C++
//-----------------------------------------------------------------------------+
|
|
// Copyright (C), 1998-2007, Beijing Tangent Software Co. Ltd.
|
|
// = FileName : TGGiWallVector 类
|
|
// = Version : ver2.0
|
|
// = Author : wlw
|
|
// = CreateDate : 2002-09-09
|
|
// = Description: TGGiWallVector 声明
|
|
// = Maintainers:
|
|
//
|
|
//-----------------------------------------------------------------------------+
|
|
#ifndef _TGGIWALLVECTOR_H_
|
|
#define _TGGIWALLVECTOR_H_
|
|
|
|
#ifndef _TGGECURVESEGMENT_H_
|
|
#include "TGGeCurveSegment.h"
|
|
#endif
|
|
|
|
class TAecSpaceWall;
|
|
class TSortWallOnPt;
|
|
|
|
// 有向墙(矢量墙)
|
|
// 考虑了墙体标高
|
|
class TARCH_EXP TGGiWallVector
|
|
{
|
|
public:
|
|
|
|
TGGiWallVector(TAecSpaceWall *pWallData, ads_real dDir);
|
|
|
|
TGGeCurveSegment LeftCurve(TSortWallOnPt *PNode, int nFlg);
|
|
|
|
TGGeCurveSegment RightCurve(TSortWallOnPt *PNode, int nFlg);
|
|
|
|
static int FindByEntity(const TGGiWallVector *ptrSrc, const void *ptrEnt);
|
|
|
|
public:
|
|
|
|
TAecSpaceWall *pWall;
|
|
|
|
ads_real nDirection;
|
|
};
|
|
|
|
#endif |