Files
envi-code/SourceCode/Code2026/tg_shs/inc/geo/TGGiCurveStream.h
T

46 lines
1.1 KiB
C++
Raw Normal View History

2026-10-04 00:04:20 +08:00
//-----------------------------------------------------------------------------+
2026-09-28 15:28:50 +08:00
// Copyright (C), 1998-2007, Beijing Tangent Software Co. Ltd.
2026-10-04 00:04:20 +08:00
// = FileName : TGGiCurveStream 类
2026-09-28 15:28:50 +08:00
// = Version : ver2.0
// = Author : wlw
// = CreateDate : 2002-09-09
2026-10-04 00:04:20 +08:00
// = Description: TGGiCurveStream 声明
2026-09-28 15:28:50 +08:00
// = Maintainers:
//
//-----------------------------------------------------------------------------+
#ifndef _TGGICURVESTREAM_H_
#define _TGGICURVESTREAM_H_
#ifndef _TGGIDRAWSTREAMBASE_H_
#include "TGGiDrawStreamBase.h"
#endif
#ifndef _TGGECURVESEGMENT_H_
#include "TGGeCurveSegment.h"
#endif
#ifndef _TGGEPOLY2D_H_
#include "TGGePoly2D.h"
#endif
class GEOAPI TGGiCurveStream : public TGGiDrawStreamBase
{
public:
TGGiCurveStream();
virtual void DrawXCurve(const TGGeCurveSegment& curve,double nThick = 0);
virtual const TCHAR *Desc();
2026-10-04 00:04:20 +08:00
//外裁剪
2026-09-28 15:28:50 +08:00
void ClipIn(const TGGePoly2D &);
2026-10-04 00:04:20 +08:00
//内裁剪
2026-09-28 15:28:50 +08:00
void ClipOut(const TGGePoly2D &);
void CopyTo(TGGiDrawStreamBase &toDc) const;
static const TCHAR *Descriptor();
public:
TDPtrList<TGGeCurveSegment> m_lstCurves;
};
#endif