kmathematica.h
来自「这是前段时间自己写的一个给两个摄像机定标的对话框程序」· C头文件 代码 · 共 45 行
H
45 行
// KMathematica.h: interface for the KMathematica class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_KMATHEMATICA_H__BD1D45DE_344E_4D3E_A348_80A030F4D9DA__INCLUDED_)
#define AFX_KMATHEMATICA_H__BD1D45DE_344E_4D3E_A348_80A030F4D9DA__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "cv.h" // include core library interface
#include "highgui.h" // include GUI library interface
#include "KBasicStructures.h"
#include "math.h"
#define PI 3.14159265358979
typedef KBasicStructures::CPoint_d CPoint_d;
class KMathematica
{
public:
static int Modulus(int n, int m);
static int ** CombinationMatrix( int *arr, int n, int m );
static double MapAnglePi2mPi( double theta );
static CvPoint2D32f FindCenterofMass(CvPoint2D32f* points, int n);
static double FindOrientation(CvPoint2D32f* points, int n);
static long Combination(int n, int m);
static long Permutation(int n, int m);
static int Place(int number, int* arr, int n);
static int * Sort(int *arr, int n);
static long Factorial(int n);
static int ** PermutationMatrix(int *arr, int n);
KMathematica();
virtual ~KMathematica();
};
#endif // !defined(AFX_KMATHEMATICA_H__BD1D45DE_344E_4D3E_A348_80A030F4D9DA__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?