Files
envi-code/SourceCode/Code2026/tg_shs/inc/TArch/TGGiWallVector.h
T

42 lines
1020 B
C++
Raw Normal View History

2026-10-04 00:04:20 +08:00
//-----------------------------------------------------------------------------+
2026-09-28 15:28:50 +08:00
// Copyright (C), 1998-2007, Beijing Tangent Software Co. Ltd.
2026-10-04 00:04:20 +08:00
// = FileName : TGGiWallVector 类
2026-09-28 15:28:50 +08:00
// = Version : ver2.0
// = Author : wlw
// = CreateDate : 2002-09-09
2026-10-04 00:04:20 +08:00
// = Description: TGGiWallVector 声明
2026-09-28 15:28:50 +08:00
// = Maintainers:
//
//-----------------------------------------------------------------------------+
#ifndef _TGGIWALLVECTOR_H_
#define _TGGIWALLVECTOR_H_
#ifndef _TGGECURVESEGMENT_H_
#include "TGGeCurveSegment.h"
#endif
class TAecSpaceWall;
class TSortWallOnPt;
2026-10-04 00:04:20 +08:00
// 有向墙(矢量墙)
// 考虑了墙体标高
2026-09-28 15:28:50 +08:00
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