Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
geodesy APIs

geodesy API More...

Data Structures

struct  geodesy_coordinate
 

Functions

uint32_t geodesy_great_circle_distance (struct geodesy_coordinate a, struct geodesy_coordinate b)
 Calculate the great-circle (shortest) distance between two locations.
 

Detailed Description

geodesy API

Function Documentation

◆ geodesy_great_circle_distance()

uint32_t geodesy_great_circle_distance ( struct geodesy_coordinate a,
struct geodesy_coordinate b )

#include <infuse/math/geodesy.h>

Calculate the great-circle (shortest) distance between two locations.

Parameters
aFirst location
bSecond location
Returns
uint32_t Distance between location in meters