//-------------------------------------------------------------------------------------------------------+ // 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 TBNodeList; #endif