27 lines
496 B
C++
27 lines
496 B
C++
#pragma once
|
|
#include "globalDefine.h"
|
|
#include "ADSGePointList.h"
|
|
#include "ADSGePoint3d.h"
|
|
|
|
class GePoly2D;
|
|
// 有序点组成的表
|
|
class PointList : public ADSGePointList
|
|
{
|
|
public:
|
|
|
|
PointList(const ADSGePoint3d & startPoint, const ADSGePoint3d & endPoint, ads_real bulge = 0);
|
|
virtual ~PointList();
|
|
|
|
int Insert(const ADSGePoint3d & newPt, BOOL bExt = FALSE);
|
|
|
|
int Update(const ads_name ref);
|
|
|
|
void AsPoly2D(GePoly2D &poly) const;
|
|
|
|
public:
|
|
|
|
ADSGePoint3d center;
|
|
|
|
CurveType curveType;
|
|
};
|