📄 110.h
字号:
// The following ifdef block is the standard way of creating macros which make exporting
// from a DLL simpler. All files within this DLL are compiled with the MY110_EXPORTS
// symbol defined on the command line. this symbol should not be defined on any project
// that uses this DLL. This way any other project whose source files include this file see
// MY110_API functions as being imported from a DLL, wheras this DLL sees symbols
// defined with this macro as being exported.
#ifdef MY110_EXPORTS
#define MY110_API __declspec(dllexport)
#else
#define MY110_API __declspec(dllimport)
#endif
// This class is exported from the 110.dll
#include "windows.h"
#include <string.h>
#include <math.h>
#define PI 3.14159265358979 //圆周率
#define PI0 206264.806247096355 //圆周率对应的秒数
#define PI2 2*3.14159265358979 //2倍圆周率
class MY110_API CMy110 {
public:
CMy110(void);
// TODO: add your methods here.
};
extern MY110_API int nMy110;
MY110_API int fnMy110(void);
MY110_API double AngleToRadian(double alfa);
MY110_API double RadianToAngle(double alfa);
MY110_API double AngleToRadian2(double alfa);
MY110_API double RadianToAngle2(double alfa);
MY110_API double DxDyToS(double dx,double dy);
MY110_API double DxDyToAz(double dx,double dy);
MY110_API void DirectionMeetCoordinate(double xa,double ya,double xb,double yb,double alfa,double beta,double *xp,double *yp);
MY110_API void DirectionMeetCoordinate(double alfa,double beta,long A,
long B, long P,double *x,double *y);
MY110_API long SideMeetCoordinate(double s1, double s2,double s3,long ia,
long ib,long ic,double *x,double *y);
MY110_API void SideMeetCoordinate(double xa,double ya,double xb,double yb,
double sap,double sbp,double *xp,double *yp);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -