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.
46 lines
1.1 KiB
C++
46 lines
1.1 KiB
C++
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
//文件 ContourValue.h
|
|
//主要功能:
|
|
// 基础类库
|
|
//程序编写: 2005-12-07
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// ContourValue.h: interface for the CContour class.
|
|
//
|
|
//////////////////////////////////////////////////////////////////////
|
|
#include <afxwin.h>
|
|
#if !defined(AFX_CONTOURVALUE_H__0B872DFF_45E6_4F01_9E4C_2DDBE9C59E4F__INCLUDED_)
|
|
#define AFX_CONTOURVALUE_H__0B872DFF_45E6_4F01_9E4C_2DDBE9C59E4F__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
|
|
#include "vector.h" // Added by ClassView
|
|
|
|
namespace NContour
|
|
{
|
|
|
|
class AFX_EXT_CLASS CContour : public CVector
|
|
{
|
|
public:
|
|
CContour();
|
|
virtual ~CContour();
|
|
|
|
int Create(int num);
|
|
int Create(int num,double step,double m_contour0,int n=5);
|
|
int CreateLn(int num, double step, double m_contour0, int n);
|
|
int CreateLog10(int num,double step,double m_contour0,int n);
|
|
|
|
int Read(CString m_input);
|
|
int Write(CString m_output);
|
|
|
|
int *mark;
|
|
};
|
|
|
|
};
|
|
using namespace NContour;
|
|
|
|
#endif // !defined(AFX_CONTOURVALUE_H__0B872DFF_45E6_4F01_9E4C_2DDBE9C59E4F__INCLUDED_)
|