Skip to content

bytebeamio/geofence

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Geofence

There are 2 functions defined in this project:

bool is_point_in_polygon(point *p_ptr, const point *vertices, size_t number_of_vertices);
bool is_position_in_geofence(point *p_ptr, const point *vertices, size_t number_of_vertices);

is_point_in_polygon checks if a given point is inside a given polygon or not. It accepts input in terms of coordinates.

is_position_in_geofence checks if a given location is inside a given geofence or not. It accepts input in terms of lng, lat. It performs a mercator conversion internally.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published