merge with master
[framework/osp/locations.git] / src / FLoc_MathUtils.h
index 082de85..7459b2d 100644 (file)
 #ifndef _FLOC_INTERNAL_MATH_UTILS_H_
 #define _FLOC_INTERNAL_MATH_UTILS_H_
 
+namespace Tizen { namespace Base { namespace Collection
+{
+       class IList;
+}}}
+
 namespace Tizen { namespace Locations
 {
 
@@ -48,6 +53,12 @@ public:
        //
        static double CalculateOverlapRegion(const _RegionInfo& region, const Location& location);
 
+       // This method returns the distance between the user's current location and the the nearest boundary among the added monitoring regions.
+       // @since 2.0
+       //
+       static double GetShortestDistance(const Location& location, const Tizen::Base::Collection::IList& regionList);
+
+
 public:
        static const double PI;
        static const double PI2;