Files
envi-code/SourceCode/Code2026/tg_shs/inc/geo/TPointList.h
T

47 lines
1.1 KiB
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 : TPointList类
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: TPointList类声明
2026-09-28 15:28:50 +08:00
// = Maintainers:
//
//-------------------------------------------------------------------------------------------------------+
#ifndef _TPOINTLIST_H_
#define _TPOINTLIST_H_
#ifndef _TADSGEPOINTLIST_H_
#include "TADSGePointList.h"
#endif
#ifndef _TADSGEPOINT3D_H_
#include "TADSGePoint3d.h"
#endif
#ifndef _TGGEPOLY2D_H_
#include "TGGePoly2D.h"
#endif
2026-10-04 00:04:20 +08:00
// 有序点组成的表
2026-09-28 15:28:50 +08:00
class GEOAPI TPointList : public TADSGePointList
{
public:
TPointList(const TADSGePoint3d & startPoint, const TADSGePoint3d & endPoint, ads_real bulge = 0);
virtual ~TPointList();
int Insert(const TADSGePoint3d & newPt, BOOL bExt = FALSE);
int Update(const ads_name ref);
void AsPoly2D(TGGePoly2D &poly) const;
public:
TADSGePoint3d center;
CurveType curveType;
};
#endif