📄 pubproc.h
字号:
#pragma once
#include "StruMem.h"
#include<string>
using namespace std ;
struct Between_angle
{
int to ;
double angle ;
Between_angle *next ;
double vf_b1;//wly
} ;
struct Known_Point
{
int from ;
int Between_angle_Num ;
Between_angle first_elem ;
} ;
struct Point
{
double x;
double y;
double z;
float dx;
float dy;
float dz;
int kt;
double z0;
double x_Err;
double y_Err;
double xy_Err;
};
struct ErrEli
{
float mx;
float my;
float mxy;
float a;
float b;
double alfa;
float mab;
};
class CPubProc :
public CStruMem
{
public:
CPubProc(void);
~CPubProc(void);
public:
double angle_r(double alfa);
double radian_a(double alfa);
double dxy_az(double dx,double dy);
double dxy_s(double dx,double dy);
void prompt();
public:
void Ini_PointKT(int ne,int nzd);
void Ini_Direction (int nzd);
bool Calc_IniCoord (int nzd);
void F_wabc (int ia,int ib,int ic);
double F_iaibic (int ia,int ib,int ic);
void Fron_Coord (double alfa,double beta,int A,int B,int P);
void Set_CBllZero();//将法方程和常数项初始化为零
void Calc_XY(int ne,int nzd,Point *ptr_Point,double *Bll);//未知数XY求解
void Calc_StdEqu(int u,int v,double al,double bl,double a2,double b2,double lj,
double p,double *NN,double *Bll);//形成方向观测误差方程并计算法方程和常数项
void Gauss(int nn,double *NN,double *Bll);//高斯全选主元dxy求解
float Calc_UnitError(int nf,int CondNum,int nw,int ne);//计算单位权中误差
void Wcfch(int ne,int nn,int nzd);
bool Sd_Adjust(CString StrFile);
void Calc_Dwzwc(float uniterr,int nw);//点位中误差
void Calc_Elli(float u,int nw);//误差椭圆
double Calc_alfa(double q1,double q2);
public:
float B1[5];//wly
int B2[5];//wly
double pvv;//wjx
double uniterr;//wjx
int nzd;
int nf;
int ne;
int nw;
Known_Point *ptr_known_point;
Point *ptr_Point;
ErrEli *ptr_ErrEli;
} ;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -