NMPB08 Shared Libraries
|
00001 #ifndef _NMPB08_PATHDEF_INCLUDED_ 00002 #define _NMPB08_PATHDEF_INCLUDED_ 00003 00036 #include "pathdefNMPB.h" 00037 00038 #ifndef _COMPILE_NMPB 00039 #ifdef _WIN32 00040 #define _COMPILE_NMPB extern "C" __declspec(dllexport) 00041 #else 00042 #define _COMPILE_NMPB extern "C" 00043 #endif 00044 00045 #endif 00046 00050 typedef void* PathID ; 00051 00057 _COMPILE_NMPB PathID NMPB08_CreatePath () ; 00058 00068 _COMPILE_NMPB PathID NMPB08_CreatePathEx (int nbFreq, double const* freq) ; 00069 00081 _COMPILE_NMPB bool NMPB08_SetOption(PathID, Option option, bool on_off); 00082 00090 _COMPILE_NMPB int NMPB08_GetNbFrequencies (PathID); 00091 00099 _COMPILE_NMPB double const* NMPB08_GetFrequencies (PathID); 00100 00108 _COMPILE_NMPB bool NMPB08_DeletePath (PathID) ; 00109 00117 _COMPILE_NMPB bool NMPB08_ClearPath (PathID) ; 00118 00130 _COMPILE_NMPB bool NMPB08_ExtendPath (PathID, Position3D const* point3D, double g) ; 00131 00145 _COMPILE_NMPB bool NMPB08_ExtendPathExt (PathID, Position3D const* point3D, double g, ExtensionNMPB const* ext) ; 00146 00156 _COMPILE_NMPB int NMPB08_SetSourceHeight (PathID, double h) ; 00157 00167 _COMPILE_NMPB int NMPB08_SetReceiverHeight (PathID, double h) ; 00168 00176 _COMPILE_NMPB int NMPB08_DoCalculation (PathID) ; 00177 00185 _COMPILE_NMPB double const* NMPB08_GetAttF (PathID) ; 00186 00194 _COMPILE_NMPB double const* NMPB08_GetAttH (PathID) ; 00195 00207 _COMPILE_NMPB double NMPB08_Leq_LT(double soundLevel_h, double soundLevel_f, double p) ; 00208 00220 _COMPILE_NMPB double NMPB08_SumLevels(int n, double const* levels); 00221 00237 _COMPILE_NMPB double NMPB08_GetFavorableConditionProbability (Position3D const* source, Position3D const* receiver, int nbAngles, double const* fcpAngles, double angleNorth); 00238 00260 _COMPILE_NMPB int NMPB08_CalculateLeqLT (int nbFreq, double const* Lw, double const* attH, double const* attF, double fcp, double* LeqH, double* LeqF, double* LeqLT); 00261 00262 00263 00264 #endif 00265