| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 | #pragma once#ifdef _WIN32# if defined(Positioning_LIB)#  define Positioning_EXPORT __declspec(dllexport)# else#  define Positioning_EXPORT __declspec(dllimport)# endif#else#  define Positioning_EXPORT#endifextern "C"{	/*	双星时差线	LOP_Value 返回值 结构参考DTO_Plot	LOP_Len*3为LOP_Value的长度	*/	Positioning_EXPORT void CurveByTwoTDOA(double *main_sat_pos, double *neigh_sat_pos, double *rec_pos1, double *rec_pos2, double *ref_pos,		double *Zone, double target_dto, double ref_dto, double **LOP_Value, int *LOP_Len);	/*	双星时差线-无参	LOP_Value 返回值 结构参考DTO_Plot	LOP_Len*3为LOP_Value的长度	*/	Positioning_EXPORT void CurveByTwoTDOAWithNoRef(double *main_sat_pos, double *neigh_sat_pos, double *rec_pos1, double *rec_pos2,		double *Zone, double target_dto, double **LOP_Value, int *LOP_Len);	/*	三星定位	target_llh,长度固定为6  经度、纬度、高;(镜像)经度、纬度、高	*/	Positioning_EXPORT void HyperbolicPositioning(double *main_sat, double *neigh_sat1, double *neigh_sat2, double *Sat_Station_LLH1, double *Sat_Station_LLH2, double *Sat_Station_LLH3,		double *Ref_Station_LLH, double *Zone, double target_dto1, double target_dto2, double ref_dto1, double ref_dto2, double *target_llh);	/*	三星定位	target_llh,长度固定为6	经度、纬度、高;(镜像)经度、纬度、高	*/	Positioning_EXPORT void HyperbolicPositioningWithNoRef(double *main_sat, double *neigh_sat1, double *neigh_sat2, double *Sat_Station_LLH1, double *Sat_Station_LLH2, double *Sat_Station_LLH3,		double *Zone, double target_dto1, double target_dto2, double *target_llh);	/*	用于释放时差线缓存	*/	Positioning_EXPORT void Destory(void *buf);};
 |