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.

31 lines
758 B
C++

#pragma once
#include "ItemPrint.h"
#include "EntityWell.h"
#include <iostream>
#include <list>
#include "EntityBend.h"
using namespace std;
class CSectionDoc
{
public:
CSectionDoc();
~CSectionDoc();
CItemPrint * m_pItemPrint;
list<CEntityBend*> m_Bends;
list<CEntityWell*> m_Wells;
public:
void AddWell(LPCTSTR wellName, double locationX, double locationY);
void SetWellStratiUnits(LPCTSTR wellName, int count, LPCTSTR* stratiNames
, double* tops, double* bottoms, LPCTSTR* unitNames);
CRect8 GetStratiRect(LPCTSTR wellName, LPCTSTR unitName);
void AddBend(CEntityBend* pBend);
CEntityBend* FindBend(LPCTSTR leftWell, LPCTSTR leftStrati, LPCTSTR rightWellName, LPCTSTR RightStrati);
void SelectBend(CDC* pdc, int mouseX, int mouseY);
};