a
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
// MediumZC.h: interface for the CMediumZC class.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
|
||||
#if !defined(AFX_MEDIUMZC_H__292C7590_CEB3_4037_8BE7_C69B3954805D__INCLUDED_)
|
||||
#define AFX_MEDIUMZC_H__292C7590_CEB3_4037_8BE7_C69B3954805D__INCLUDED_
|
||||
|
||||
#if _MSC_VER > 1000
|
||||
#pragma once
|
||||
#endif // _MSC_VER > 1000
|
||||
|
||||
#include "H\Medium.h"
|
||||
|
||||
class CMediumZC : public CMedium
|
||||
{
|
||||
public:
|
||||
void ReSortPoint(CPtrArray *f_ptr);
|
||||
int CalculateSptLevel(int iM, int iN);
|
||||
// float CalculateSptKVal(int iM, int iN);
|
||||
float CalculateSptKVal(int iA, int iB, int iM, int iN);
|
||||
CMediumZC(int iAR);
|
||||
virtual ~CMediumZC();
|
||||
bool GenerateSptRecElecVal(int iEAmount, int* pMaxLevel, int* pPtAmount, CPtrArray* pSptRecArray);
|
||||
void CalculateSptPtLoc(int iMul, CSptRecord* pSptRecord);
|
||||
int GenSptRecLevel(int iA, int iB, int iM, int iN);
|
||||
int GenSptRecPosInLevel(int iA, int iB, int iM, int iN);
|
||||
int GetMaxLevelByEAmount(int iEAmount);
|
||||
float CalculateDepth(float fA, float fFactor = 0.5);
|
||||
float CalculateCESptKVal(float fA, float fB, float fX, float fY);
|
||||
void SetParamVal(const void* pVal){m_fIntervalCof = *((float*)pVal);}
|
||||
|
||||
protected:
|
||||
float m_fIntervalCof;
|
||||
};
|
||||
|
||||
#endif // !defined(AFX_MEDIUMZC_H__292C7590_CEB3_4037_8BE7_C69B3954805D__INCLUDED_)
|
||||
Reference in New Issue
Block a user