#ifndef __LOCATION_BOUNDARY_H_
#define __LOCATION_BOUNDARY_H_
-#include <location/location-types.h>
-#include <location/location-position.h>
+#include <location-types.h>
+#include <location-position.h>
+
+G_BEGIN_DECLS
+
+GType location_boundary_get_type (void);
+#define LOCATION_TYPE_BOUNDARY (location_boundary_get_type ())
+
/**
* @file location-boundary.h
* @brief This file contains the definitions, structures, and functions related to boundary information.
- * @addtogroup LocationTypes
+ */
+/**
+ * @addtogroup LocationAPI
+ * @{
+ * @defgroup LocationAPIBoundary Location Boundary
+ * @breif This provides APIs related to Location Boundary
+ * @addtogroup LocationAPIBoundary
* @{
*/
-G_BEGIN_DECLS
-
/**
* @brief
* The type of the @location_boundary_foreach function of #LocationObject
};
};
-GType location_boundary_get_type (void);
-#define LOCATION_TYPE_BOUNDARY (location_boundary_get_type ())
-
/**
* @brief Create a rectangular type of new #LocationBoundary with given information.
* @remarks None.
gboolean location_boundary_if_inside (LocationBoundary *boundary, LocationPosition *position);
/**
- * @}
+ * @brief Get bounding box of #LocationBoundary
+ */
+LocationBoundary *location_boundary_get_bounding_box (LocationBoundary *boundary);
+
+
+/**
+ * @brief Get the center position of #LocationBoundary
+ */
+LocationPosition * location_boundary_get_center_position (LocationBoundary *boundary);
+
+/**
+ * @} @}
*/
G_END_DECLS