public unsafe void NLcompute(ref APR aprPos, ref CTTBEph EphData, ref CAI3Results AI3Res, ref MeasConfig measConfig, int navLib, ref CNavLibOutputFix navLibOutputFix, int unhealthySV) { APR apr = aprPos; APR * aprPtr = &apr; CTTBEph eph = EphData; CTTBEph * ephData = &eph; CAI3Results results = AI3Res; CAI3Results *resultsPtr = &results; MeasConfig config = measConfig; MeasConfig * configPtr = &config; navLibLSQ(aprPtr, ephData, resultsPtr, configPtr, navLib, ref navLibOutputFix, unhealthySV); aprPos = apr; EphData = eph; AI3Res = results; measConfig = config; }
public static unsafe extern int navLibLSQ(APR* aprPos, CTTBEph* EphData, CAI3Results* AI3Res, MeasConfig* measConfig, int navLib, ref CNavLibOutputFix navLibOutputFix, int unhealthySV);
public unsafe void NLcompute(ref APR aprPos, ref CTTBEph EphData, ref CAI3Results AI3Res, ref MeasConfig measConfig, int navLib, ref CNavLibOutputFix navLibOutputFix, int unhealthySV) { APR apr = aprPos; APR* aprPtr = &apr; CTTBEph eph = EphData; CTTBEph* ephData = &eph; CAI3Results results = AI3Res; CAI3Results* resultsPtr = &results; MeasConfig config = measConfig; MeasConfig* configPtr = &config; navLibLSQ(aprPtr, ephData, resultsPtr, configPtr, navLib, ref navLibOutputFix, unhealthySV); aprPos = apr; EphData = eph; AI3Res = results; measConfig = config; }