Threepoint Location Calculator with dBm values
- Mathematically, triangulation is a method of finding the coordinates and distance of a point using the properties of a triangle
- Given a point and two reference points, measure the angle between the base and the other two sides in a triangle consisting of that point and two reference points.
- This is a method to find the coordinates and distances for the point by measuring the length of the side and performing calculations using the sine laws.
The library for calculating distances and positions
double CalculateDistance(packet_info pinfo, int n);- basic packet information structure
- correcting integer
pos CalculateLocation(double disA, double disB, double disC, double disBetween);- distances from three vertexes
- length of one edge
double DistanceBetween(pos p1, pos p2);- two pos structures
double CalculateRadius(double disA, double disB, double disC, double disBetween,
pos target_loc);- distances from three vertexes
- length of one edge
- position of target
