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

📄 backinsection.h

📁 摄影测量利用空间后方交汇的方法编写的可以从相片像平面坐标获得该点实际的物方坐标,得到空间定位的数据
💻 H
字号:
// BackInsection.h: interface for the CBackInsection class.
//
//////////////////////////////////////////////////////////////////////

#include"Matrix.h"

#if !defined(AFX_BACKINSECTION_H__A546306F_4EE3_4071_880B_0ED399A4AA90__INCLUDED_)
#define AFX_BACKINSECTION_H__A546306F_4EE3_4071_880B_0ED399A4AA90__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#define PI 3.1415926//π

class CBackInsection  
{
	//外方位元素
	double fZs,fXs,fYs;
	double fphi,fomica,fkapa;

	double fH;//航高
    
	//内方位元素
    double fx0,fy0,ff;

	int iN;//控制点个数
	double *fp_X,*fp_Y,*fp_Z;//指向控制点空间坐标的指针
	double *fpx,*fpy;//指向影像坐标的指针

	double *fpApx_x,*fpApx_y;//指向(x),(y)<控制点像点坐标近似值>的指针

	CMatrix R;//旋转矩阵
	CMatrix matAvg;//

	CMatrix matA,matX,matL; //法方程矩阵

public:
	//构造函数
	CBackInsection(double x0,double y0,double f,double x[],double y[],double XX[],double YY[],double ZZ[],int N);
	virtual ~CBackInsection();//析构函数

	void Process(void);//处理
	CMatrix RotateMatrix(double phi,double omica,double kapa);//求旋转矩阵    
	CMatrix CoefficientMatrix(double x,double y,double avgZ,CMatrix& matR);//求误差coefficient matrix
	CMatrix ConstantMatrix(double x,double y,double apx_x,double apx_y);//求误差constant matrix

	void Display(void);//显示
	void OutPut(void);//输出文件

	//Get
	double GetXs(void){return fXs;}
	double GetYs(void){return fYs;}
	double GetZs(void){return fZs;}
   
};

#endif // !defined(AFX_BACKINSECTION_H__A546306F_4EE3_4071_880B_0ED399A4AA90__INCLUDED_)

⌨️ 快捷键说明

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