summaryrefslogtreecommitdiff
path: root/src/FLoc_MathUtils.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/FLoc_MathUtils.h')
-rw-r--r--src/FLoc_MathUtils.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/FLoc_MathUtils.h b/src/FLoc_MathUtils.h
index 082de85..7459b2d 100644
--- a/src/FLoc_MathUtils.h
+++ b/src/FLoc_MathUtils.h
@@ -27,6 +27,11 @@
#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;