43 lines
936 B
C++
43 lines
936 B
C++
//-----------------------------------------------------------------------------+
|
|
// Copyright (C), 1998-2007, SH Software Co. Ltd.
|
|
// = FileName : XCurveIntersection 类
|
|
// = Version : ver2.0
|
|
// = Author : zjq
|
|
// = CreateDate : 2002-09-09
|
|
// = Description: XCurveIntersection 声明
|
|
// = Maintainers:
|
|
//
|
|
//-----------------------------------------------------------------------------+
|
|
#ifndef _XCURVESEGUNIQUE_H_
|
|
#define _XCURVESEGUNIQUE_H_
|
|
|
|
#ifndef _XCURVESEGMENT_H_
|
|
#include "XCurveSegment.h"
|
|
#endif
|
|
|
|
#ifndef _POINTLIST_H_
|
|
#include "PointList.h"
|
|
#endif
|
|
|
|
// 处理交线和重线
|
|
// 处理交点的通用类 (Circle, arc and Line)
|
|
class GEOAPI XCurveIntersection : public XCurveSegment
|
|
{
|
|
public:
|
|
|
|
XCurveIntersection(const XCurveSegment &seg);
|
|
~XCurveIntersection();
|
|
|
|
void DivideToSegments();
|
|
|
|
public:
|
|
|
|
PointList segments;
|
|
|
|
static ads_real minLen;
|
|
|
|
static DList<XCurveIntersection> GlobalCurveList;
|
|
};
|
|
|
|
#endif
|