Files
backend/common/GeoJson.h
T

11 lines
357 B
C++

#pragma once
#include <json/json.h>
namespace visione::geojson
{
bool pointInPolygon(double latitude, double longitude, const Json::Value &geojson);
bool pointInGeometry(double latitude, double longitude, const Json::Value &geojson);
bool polygonInsideGeometry(const Json::Value &candidate, const Json::Value &container);
} // namespace visione::geojson