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

📄 adjustlib.h

📁 图像内定像中的坐标转换程序代码
💻 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);

⌨️ 快捷键说明

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