📄 torog.~h
字号:
//---------------------------------------------------------------------------
#ifndef TorogH
#define TorogH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ExtCtrls.hpp>
#define tRGB(x,y,z) x*65536+y*256+z
//---------------------------------------------------------------------------
class TTopograp : public TForm
{
__published: // IDE-managed Components
TButton *Button1;
TButton *Button2;
TImage *Image1;
void __fastcall Button1Click(TObject *Sender);
void __fastcall FormCreate(TObject *Sender);
void __fastcall Button2Click(TObject *Sender);
double __fastcall dis2(int tx,int ty, int i); // TObject *Sender,
long __fastcall getcolor(int tx,int ty,int Kind); // TObject *Sender,
int __fastcall Dispmone( int posi_x, int posi_y,int Kindof);
int __fastcall d2_sort(int getsmall[], double dd2[],int n);
int __fastcall GetYtoX(int xx[]);
void __fastcall FormCloseQuery(TObject *Sender, bool &CanClose);
private: // User declarations
public: // User declarations
__fastcall TTopograp(TComponent* Owner);
int d2_order[3];
double dd2[16];
double d2_power[5][16];
double scale_2d[5][14]; // float
int xx[45];
int AXIS;
};
//---------------------------------------------------------------------------
extern PACKAGE TTopograp *Topograp;
//---------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -