Files

47 lines
1.0 KiB
C++
Raw Permalink Normal View History

2026-10-04 00:04:20 +08:00
//-------------------------------------------------------------------------------------------------------+
2026-09-28 15:28:50 +08:00
// Copyright (C), 1998-2007, SH Software Co. Ltd.
2026-10-04 00:04:20 +08:00
// = FileName : PointList类
2026-09-28 15:28:50 +08:00
// = Version : ver2.0
// = Author : zjq
// = CreateDate : 2002-09-09
2026-10-04 00:04:20 +08:00
// = Description: PointList类声明
2026-09-28 15:28:50 +08:00
// = 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
2026-10-04 00:04:20 +08:00
// 有序点组成的表
2026-09-28 15:28:50 +08:00
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