Files
envi-code/SourceCode/Code2026/tg_shs/inc/TArch/TGGiWallVector.h
T
2026-09-28 15:28:50 +08:00

42 lines
1001 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