?? adjustlib.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 ADJUSTLIB_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
// ADJUSTLIB_API functions as being imported from a DLL, wheras this DLL sees symbols
// defined with this macro as being exported.
#ifdef ADJUSTLIB_EXPORTS
#define ADJUSTLIB_API __declspec(dllexport)
#else
#define ADJUSTLIB_API __declspec(dllimport)
#endif
// This class is exported from the AdjustLib.dll
#include "windows.h"
#include <string.h>
#include <math.h>
#define PI 3.14159265358979
#define PI0 206264.806247096355
#define PI2 2*3.14159265358979
class ADJUSTLIB_API CAdjustLib {
public:
CAdjustLib(void);
// TODO: add your methods here.
};
extern ADJUSTLIB_API int nAdjustLib;
ADJUSTLIB_API int fnAdjustLib(void);
ADJUSTLIB_API double AngleToRadian(double alfa);
ADJUSTLIB_API double RadianToAngle(double alfa);
ADJUSTLIB_API double DxDyToS(double dx,double dy);
ADJUSTLIB_API double DxDyToAz(double dx,double dy);
ADJUSTLIB_API double AngleToRadian2(double alfa);
ADJUSTLIB_API double RadianToAngle2(double alfa);
ADJUSTLIB_API void DirectionMeetCoordinate(double alfa, double beta, long A, long B, long P, double *x, double *y);
ADJUSTLIB_API void DirectionMeetCoordinate(double xa,double ya,double xb,double yb,double alfa,double beta,double *xp,double *yp);
ADJUSTLIB_API long SideMeetCoordinate(double s1, double s2, double s3, long ia, long ib, long ic, double *x, double *y);
ADJUSTLIB_API void SideMeetCoordinate(double xa,double ya,double xb,double yb,double sap,double sbp,double *xp,double *yp);
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -