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.

28 lines
581 B
C

1 month ago
#pragma once
#include "Base\BaseLib.h"
#include "DrawLib\DrawLib.h"
#include "DrawLib\XyIO.h"
#include "afx.h"
using namespace std;
class IDWHelper
{
public:
void Calculate(LPCTSTR layerFile, LPCTSTR wellFile, LPCTSTR outFile, double factor = 2);
void Calculate(CMesh* pMesh, vector<array<double, 3>> wellData, LPCTSTR outFile, double factor = 2);
private:
void ReadInToMatrix(string FilePath, vector<array<double, 3>>& data);
BOOL OpenFile(LPCTSTR lpszFileName);
void Serialize(CArchive& ar);
private:
CXy* m_pXy;
//CMesh* m_pMesh;
double InvalidZ = 1e301;
};