NetSim Source Code Help v14.4
All 13 Components
 
Loading...
Searching...
No Matches
MobilityInterface.h
1#pragma once
2/************************************************************************************
3* Copyright (C) 2023 *
4* TETCOS, Bangalore. India *
5* *
6* Tetcos owns the intellectual property rights in the Product and its content. *
7* The copying, redistribution, reselling or publication of any or all of the *
8* Product or its content without express prior written consent of Tetcos is *
9* prohibited. Ownership and / or any other right relating to the software and all *
10* intellectual property rights therein shall remain at all times with Tetcos. *
11* *
12* This source code is licensed per the NetSim license agreement. *
13* *
14* No portion of this source code may be used as the basis for a derivative work, *
15* or used, for any purpose other than its intended use per the NetSim license *
16* agreement. *
17* *
18* This source code and the algorithms contained within it are confidential trade *
19* secrets of TETCOS and may not be used as the basis for any other software, *
20* hardware, product or service. *
21* *
22* Author: Shashi Kant Suman *
23* *
24* ----------------------------------------------------------------------------------*/
25#ifndef _NETSIM_MOBILITYINTERFACE_H_
26#define _NETSIM_MOBILITYINTERFACE_H_
27#ifdef __cplusplus
28extern "C" {
29#endif
30
31#ifndef _NETSIM_MOBILITY_CODE_
32#pragma comment(lib,"Mobility.lib")
33#endif
34
35 _declspec(dllexport) bool fnMobility_findIntersect(NetSim_COORDINATES* p1, NetSim_COORDINATES* q1,
36 NetSim_COORDINATES* p2, NetSim_COORDINATES* q2,
37 NetSim_COORDINATES* intersect);
38 _declspec(dllexport) bool fnMobility_isPosInsideBuilding(NetSim_COORDINATES* pos, NETSIM_ID id);
39 _declspec(dllexport) UINT fnMobility_isPosInsideAnyBuilding(NetSim_COORDINATES* pos);
40 _declspec(dllexport) bool fnMobility_findIntersectionPointbyBuilding(NetSim_COORDINATES* p1, NetSim_COORDINATES* p2,
41 UINT id, NetSim_COORDINATES* ret);
42 _declspec(dllexport) double fnMobility_findIndoorDistance(NetSim_COORDINATES* p1, NetSim_COORDINATES* p2);
43
44#ifdef __cplusplus
45}
46#endif
47#endif /* _NETSIM_MOBILITYINTERFACE_H_ */