Skip to main content

pamoja_geofence_contains

Function pamoja_geofence_contains 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_geofence_contains( geofence: *const PamojaGeofence, point: PamojaCoordinate, ) -> bool
Expand description

Reports whether a fix lies inside a geofence, without recording a crossing.

§Returns

true if the fix is inside, or false if it is outside or geofence is null.

§Safety

geofence must be a live handle from pamoja_geofence_new, or null.