47 lines
1.1 KiB
C++
47 lines
1.1 KiB
C++
//-------------------------------------------------------------------------------------------------------+
|
|
// Copyright (C), 1998-2007, Beijing Tangent Software Co. Ltd.
|
|
// = FileName : TPointList类
|
|
// = Version : ver2.0
|
|
// = Author : wlw
|
|
// = CreateDate : 2002-09-09
|
|
// = Description: TPointList类声明
|
|
// = 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
|
|
|
|
// 有序点组成的表
|
|
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 |