⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 myclass.h

📁 From C++ to Visual C++ one hundred examples.
💻 H
字号:
//MyClass.h: interface for the CMyClass class
#if !defined(AFX_MYCLASS_H_6250EB80_113B_11D4_81FF_D19FE195501C_INCLUDED_)
#define AFX_MYCLASS_H_6250EB80_113B_11D4_81FF_D19FE195501C_INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif //_MSC_VER >1000
#define Scale 1.35
typedef double array2d[5][5];
typedef double array[24];

class CMyClass
{
public:
	double theta_y,phi_x,i_0,h_0;
	double Rol,Theta,Phi,DE,x0,z0;
	double XProj,YProj,Aux1,Aux2,Aux3,Aux4,Aux5,Aux6,Aux7,Aux8;
int xx,yy;
array X,Y,Z,C,XT,YT,ZT,XP,YP,ZP,CP;
array2d A,Ah,Aw;
public:
	CMyClass();
	virtual~CMyClass();
void ReadWorkpiece();
void ReadCube();
void Calculate(array2d B);
void MCalculate(array2d B);
void TransformMatrice();
void Project(double x,double y,double z);
void DrawText();
void DrawTriview();
void Drawzdc();
void Drawzec();
void Drawxdc();
void DrawPers();
void DrawViewV(CDC* pdc,CRect rr);
void DrawViewH(CDC* pdc,CRect rr);
void DrawViewW(CDC* pdc,CRect rr);
void WLineTo(double x,double y,double z,CDC* pdc,int MaxX,int MaxY);
void WMoveTo(double x,double y,double z,CDC* pdc,int MaxX,int MaxY);
void moveto(double x,double y,CDC* pdc);
void lineto(double x,double y,CDC* pdc);
void DrawCube();
};
#endif
//!defined(AFX_MYCLASS_H_6250EB80_113B_11D4_81FF_D19FE195501C_INCLUDED_)




























⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -