You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.0 KiB
C++
41 lines
1.0 KiB
C++
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
//文件 XPointName.h
|
|
//主要功能:
|
|
//
|
|
//程序编写: 2005-12-07
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
#pragma once
|
|
#include "pointnameex.h"
|
|
|
|
class CXPointName :
|
|
public CPointNameEx
|
|
{
|
|
public:
|
|
CXPointName(void);
|
|
virtual ~CXPointName(void);
|
|
|
|
void Serialize(CArchive& ar, const short &ver) override;
|
|
virtual int Read(CFile& fr, const short &ver);
|
|
virtual void Write(CFile &fw, const short &ver);
|
|
|
|
virtual void WriteDML(CFile &fw, const short& ver, int nBaseTabNum);
|
|
virtual int ReadDML(CFile &fw, const short &ver);
|
|
virtual void WritePCG(CFile &fw, const short& ver, int nBaseTabNum);
|
|
virtual int ReadPCG(CFile &fw, const short &ver);
|
|
|
|
virtual void GetRange(CRect8& range,void* HowToViewPoint);
|
|
virtual BOOL IsInRange(CRect8& range,void* HowToViewPoint);
|
|
|
|
int FindCurve(void* pXy);
|
|
void operator=(const CXPointName& pn);
|
|
|
|
CString sx0; //两条曲线的名称,其相交点为该点的坐标
|
|
CString sy0;
|
|
|
|
protected:
|
|
void* m_pCurveX;
|
|
void* m_pCurveY;
|
|
};
|