48 lines
1015 B
C++
48 lines
1015 B
C++
//-------------------------------------------------------------------------------------------------------+
|
|
// Copyright (C), 1998-2007, SH Software Co. Ltd.
|
|
// = FileName : PointList类
|
|
// = Version : ver2.0
|
|
// = Author : zjq
|
|
// = CreateDate : 2002-09-09
|
|
// = Description: PointList类声明
|
|
// = Maintainers:
|
|
//
|
|
//-------------------------------------------------------------------------------------------------------+
|
|
#ifndef _POINTLIST_H_
|
|
#define _POINTLIST_H_
|
|
|
|
#ifndef _XPOINTLISTT_H_
|
|
#include "XPointList.h"
|
|
#endif
|
|
|
|
#ifndef _XPOINT_H_
|
|
#include "XPoint.h"
|
|
#endif
|
|
|
|
#ifndef _XPOLY2D_H_
|
|
#include "XPoly2D.h"
|
|
#endif
|
|
|
|
// 有序点组成的表
|
|
class GEOAPI PointList : public XPointList
|
|
{
|
|
public:
|
|
|
|
PointList(const XPoint & startPoint, const XPoint & endPoint, ads_real bulge = 0);
|
|
virtual ~PointList();
|
|
|
|
int Insert(const XPoint & newPt, BOOL bExt = FALSE);
|
|
|
|
int Update(const ads_name ref);
|
|
|
|
void AsPoly2D(XPoly2D &poly) const;
|
|
|
|
public:
|
|
|
|
XPoint center;
|
|
|
|
CurveType curveType;
|
|
};
|
|
|
|
#endif
|