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.
|
|
|
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
//<2F>ļ<EFBFBD> CurveTV.h
|
|
|
|
|
|
//<2F><>Ҫ<EFBFBD><D2AA><EFBFBD><EFBFBD>:
|
|
|
|
|
|
//
|
|
|
|
|
|
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>д: 2005-12-07
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
#include "curveex.h"
|
|
|
|
|
|
|
|
|
|
|
|
namespace NTV
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class AFX_EXT_CLASS CCurveTV :
|
|
|
|
|
|
public CCurveEx
|
|
|
|
|
|
{
|
|
|
|
|
|
public:
|
|
|
|
|
|
CCurveTV(void);
|
|
|
|
|
|
virtual ~CCurveTV(void);
|
|
|
|
|
|
|
|
|
|
|
|
//<2F><>CCurveEx<45><78><EFBFBD>е<EFBFBD>xΪ<78>ٶ<EFBFBD>,y<><79>ʱ<EFBFBD><CAB1>(TV<54><56>)
|
|
|
|
|
|
virtual int Read(CFile &fr, const short& ver);
|
|
|
|
|
|
virtual void Write(CFile& fw, const short& ver, double dRedundantError=-1.0);
|
|
|
|
|
|
void operator=(CCurveTV& curve);
|
|
|
|
|
|
virtual double Dix(int nIndex);
|
|
|
|
|
|
|
|
|
|
|
|
double m_location; //<><D7AE>
|
|
|
|
|
|
double m_recity; //У<><D0A3><EFBFBD><EFBFBD>
|
|
|
|
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
|
double VR(int nIndex);
|
|
|
|
|
|
void WriteTV(CFile& fw, double scale=1.0);
|
|
|
|
|
|
int ReadTV(CFile& fr);
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
}//namespace
|
|
|
|
|
|
|
|
|
|
|
|
using namespace NTV;
|