Files
gjm 164968b62e chore
把非utf8-bom编码的cpp/h文件改为 utf8 bom 编码, msvc识别utf8编码时,如果不是bom格式的,会使用当前cp_oem来解码.
2026-10-04 00:04:20 +08:00

40 lines
1.2 KiB
C++

//-------------------------------------------------------------------------------------------------------+
// Copyright (C), 1998-2007, Beijing Tangent Software Co. Ltd.
// = FileName : TBNode.h
// = Version : ver2.0
// = Author : xlc
// = CreateDate : 2002-09-09
// = Description: 类的声明 基线结点结构,坐标系:UCS
// = Maintainers:
//
//-------------------------------------------------------------------------------------------------------+
#ifndef _TBNODE_H_
#define _TBNODE_H_
#ifndef _TBARC_H_
#include "TBArc.h"
#endif
class GEOAPI TBNode : public CObject
{
public:
TBNode();
TBNode(TBNode* pNode);
TBNode(BLType eType,double len, const AcGePoint3d& pt, TBArc* pAr = NULL);
virtual ~TBNode();
TBNode& operator = (const TBNode& bLineNode);
public:
BLType m_eType; //后面线段的类型
BOOL m_bVisible; //从此点到下一结点的线段可见性,缺省可见。
double m_s; //s坐标:从起点到此结点的弧长
AcGePoint3d m_pt; //结点坐标
TBArc* m_pArc; //圆弧,只要下一段线为圆弧时不为空,否则为NULL
};
typedef CTypedPtrList<CObList, TBNode*> TBNodeList;
#endif