30 lines
1.0 KiB
C++
30 lines
1.0 KiB
C++
// MediumUnityProfile.h: interface for the CMediumUnityProfile class.
|
|
//
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
#if !defined(AFX_MEDIUMUNITYPROFILE_H__7BA0167F_305F_4A51_9A2C_E7E8DA9E0994__INCLUDED_)
|
|
#define AFX_MEDIUMUNITYPROFILE_H__7BA0167F_305F_4A51_9A2C_E7E8DA9E0994__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
|
|
#include "Medium.h"
|
|
|
|
class CMediumUnityProfile : public CMedium
|
|
{
|
|
public:
|
|
CMediumUnityProfile(int iAR);
|
|
virtual ~CMediumUnityProfile();
|
|
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);
|
|
|
|
};
|
|
|
|
#endif // !defined(AFX_MEDIUMUNITYPROFILE_H__7BA0167F_305F_4A51_9A2C_E7E8DA9E0994__INCLUDED_)
|