\doxysection{Baidu\+Map\+API\+\_\+\+Utils.\+framework/\+Headers/\+BMKGeometry.h 文件参考}
\hypertarget{_b_m_k_geometry_8h}{}\label{_b_m_k_geometry_8h}\index{BaiduMapAPI\_Utils.framework/Headers/BMKGeometry.h@{BaiduMapAPI\_Utils.framework/Headers/BMKGeometry.h}}
{\ttfamily import $<$Baidu\+Map\+API\+\_\+\+Base/\+BMKTypes.\+h$>$}\newline
{\ttfamily import $<$UIKit/\+UIKit.\+h$>$}\newline
\doxysubsubsection*{类}
\begin{DoxyCompactItemize}
\item 
category \mbox{\hyperlink{category_n_s_value_07_b_m_k_geometry_extension_08}{NSValue(\+BMKGeometry\+Extension)}}
\begin{DoxyCompactList}\small\item\em 地图中c结构体对象和\+NSValue对象间相互转化 \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsubsection*{函数}
\begin{DoxyCompactItemize}
\item 
UIKIT\+\_\+\+EXTERN \mbox{\hyperlink{struct_b_m_k_map_point}{BMKMap\+Point}} \mbox{\hyperlink{_b_m_k_geometry_8h_a8cdb8447bff118ee28d8de511faf32a7}{BMKMap\+Point\+For\+Coordinate}} (CLLocation\+Coordinate2D coordinate)
\item 
UIKIT\+\_\+\+EXTERN CLLocation\+Coordinate2D \mbox{\hyperlink{_b_m_k_geometry_8h_a82e1819974df12b83c0f899b27f1e1cd}{BMKCoordinate\+For\+Map\+Point}} (\mbox{\hyperlink{struct_b_m_k_map_point}{BMKMap\+Point}} map\+Point)
\item 
UIKIT\+\_\+\+EXTERN CGPoint \mbox{\hyperlink{_b_m_k_geometry_8h_a122ddbb0a69377d11a0f165ff84e2157}{BMKConvert\+To\+Baidu\+Mercator\+From\+BD09\+LL}} (CLLocation\+Coordinate2D bd09ll\+Coordinate)
\item 
UIKIT\+\_\+\+EXTERN CLLocation\+Coordinate2D \mbox{\hyperlink{_b_m_k_geometry_8h_ad496be626f8fbf4ad91b4c2bd3000e22}{BMKConvert\+To\+BD09\+LLFrom\+Baidu\+Mercator}} (CGPoint bd\+MCTCoordinate)
\item 
UIKIT\+\_\+\+EXTERN CLLocation\+Coordinate2D \mbox{\hyperlink{_b_m_k_geometry_8h_aa77eaf6640f467507f1c6c0ba9d6b47a}{BMKCoord\+Trans}} (CLLocation\+Coordinate2D coordinate, BMK\+\_\+\+COORD\+\_\+\+TYPE from\+Type, BMK\+\_\+\+COORD\+\_\+\+TYPE to\+Type)
\item 
FOUNDATION\+\_\+\+EXTERN NSDictionary \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{_b_m_k_geometry_8h_aae0f4db531bfb59c2365dc8a748a3347}{BMKConvert\+Baidu\+Coor\+From}} (CLLocation\+Coordinate2D coordinate, BMK\+\_\+\+COORD\+\_\+\+TYPE type) \+\_\+\+\_\+attribute\+\_\+\+\_\+((deprecated("{}使用\+BMKCoord\+Trans方法代替"{})))
\item 
UIKIT\+\_\+\+EXTERN CLLocation\+Distance \mbox{\hyperlink{_b_m_k_geometry_8h_acd9d69e5e899ef5acad884002c83eda5}{BMKMeters\+Per\+Map\+Point\+At\+Latitude}} (CLLocation\+Degrees latitude)
\item 
UIKIT\+\_\+\+EXTERN double \mbox{\hyperlink{_b_m_k_geometry_8h_a3766563510b0551c4304fa06562e54a2}{BMKMap\+Points\+Per\+Meter\+At\+Latitude}} (CLLocation\+Degrees latitude)
\item 
UIKIT\+\_\+\+EXTERN CLLocation\+Distance \mbox{\hyperlink{_b_m_k_geometry_8h_a6051f3027c1960e53101fa95357ce068}{BMKMeters\+Between\+Map\+Points}} (\mbox{\hyperlink{struct_b_m_k_map_point}{BMKMap\+Point}} a, \mbox{\hyperlink{struct_b_m_k_map_point}{BMKMap\+Point}} b)
\item 
UIKIT\+\_\+\+EXTERN CLLocation\+Distance \mbox{\hyperlink{_b_m_k_geometry_8h_a331a60cb949a5aab1ed9678457e938db}{BMKMeters\+Between\+Coordinates}} (CLLocation\+Coordinate2D a, CLLocation\+Coordinate2D b)
\item 
UIKIT\+\_\+\+STATIC\+\_\+\+INLINE double \mbox{\hyperlink{_b_m_k_geometry_8h_a2c1a5ec9570711e8524827fa9a395d0d}{BMKMap\+Rect\+Get\+Width}} (\mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMap\+Rect}} rect)
\item 
UIKIT\+\_\+\+STATIC\+\_\+\+INLINE double \mbox{\hyperlink{_b_m_k_geometry_8h_ab5ea9c49c319a9ae494a7da167be6189}{BMKMap\+Rect\+Get\+Height}} (\mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMap\+Rect}} rect)
\item 
UIKIT\+\_\+\+STATIC\+\_\+\+INLINE BOOL \mbox{\hyperlink{_b_m_k_geometry_8h_ade1aa48d7c452c6aae008fe2890fe05b}{BMKMap\+Point\+Equal\+To\+Point}} (\mbox{\hyperlink{struct_b_m_k_map_point}{BMKMap\+Point}} point1, \mbox{\hyperlink{struct_b_m_k_map_point}{BMKMap\+Point}} point2)
\item 
UIKIT\+\_\+\+EXTERN \mbox{\hyperlink{struct_b_m_k_map_point}{BMKMap\+Point}} \mbox{\hyperlink{_b_m_k_geometry_8h_ae16b0357dd9b8009aaaff2721da08010}{BMKGet\+Nearest\+Map\+Point\+From\+Polyline}} (\mbox{\hyperlink{struct_b_m_k_map_point}{BMKMap\+Point}} point, \mbox{\hyperlink{struct_b_m_k_map_point}{BMKMap\+Point}} \texorpdfstring{$\ast$}{*}polyline, NSUInteger count)
\item 
UIKIT\+\_\+\+EXTERN \mbox{\hyperlink{struct_b_m_k_map_point}{BMKMap\+Point}} \mbox{\hyperlink{_b_m_k_geometry_8h_abcb837b5559e421a0ee3a34c5f3a448f}{BMKGet\+Point\+To\+The\+Vertical\+Foot\+Of\+Line}} (\mbox{\hyperlink{struct_b_m_k_map_point}{BMKMap\+Point}} point, \mbox{\hyperlink{struct_b_m_k_map_point}{BMKMap\+Point}} line\+Start\+Pt, \mbox{\hyperlink{struct_b_m_k_map_point}{BMKMap\+Point}} line\+End\+Pt)
\item 
UIKIT\+\_\+\+EXTERN CLLocation\+Distance \mbox{\hyperlink{_b_m_k_geometry_8h_ac7c70c6f2f19459b99391454b45c909d}{BMKGet\+Distance\+From\+Point\+To\+Line}} (\mbox{\hyperlink{struct_b_m_k_map_point}{BMKMap\+Point}} point, \mbox{\hyperlink{struct_b_m_k_map_point}{BMKMap\+Point}} line\+Start\+Pt, \mbox{\hyperlink{struct_b_m_k_map_point}{BMKMap\+Point}} line\+End\+Pt)
\item 
UIKIT\+\_\+\+EXTERN \mbox{\hyperlink{struct_b_m_k_coordinate_region}{BMKCoordinate\+Region}} \mbox{\hyperlink{_b_m_k_geometry_8h_a30878e885fa02a2605bb194645736a36}{BMKCoordinate\+Region\+Make\+With\+Distance}} (CLLocation\+Coordinate2D center\+Coordinate, CLLocation\+Distance latitudinal\+Meters, CLLocation\+Distance longitudinal\+Meters)
\item 
UIKIT\+\_\+\+STATIC\+\_\+\+INLINE BOOL \mbox{\hyperlink{_b_m_k_geometry_8h_adc307cf3a5707b82e78265ba6be1ffc4}{BMKMap\+Size\+Equal\+To\+Size}} (\mbox{\hyperlink{struct_b_m_k_map_size}{BMKMap\+Size}} size1, \mbox{\hyperlink{struct_b_m_k_map_size}{BMKMap\+Size}} size2)
\item 
UIKIT\+\_\+\+STATIC\+\_\+\+INLINE BOOL \mbox{\hyperlink{_b_m_k_geometry_8h_aa64e3dd2b0333ddadda311abb367fc39}{BMKMap\+Rect\+Equal\+To\+Rect}} (\mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMap\+Rect}} rect1, \mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMap\+Rect}} rect2)
\item 
UIKIT\+\_\+\+STATIC\+\_\+\+INLINE BOOL \mbox{\hyperlink{_b_m_k_geometry_8h_a6a49884fe83e2aeb08b6827bf9361ef9}{BMKMap\+Rect\+Is\+Empty}} (\mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMap\+Rect}} rect)
\item 
UIKIT\+\_\+\+EXTERN \mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMap\+Rect}} \mbox{\hyperlink{_b_m_k_geometry_8h_aca2a7535ee5bfbd1204f48d2536f11ba}{BMKMap\+Rect\+Union}} (\mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMap\+Rect}} rect1, \mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMap\+Rect}} rect2)
\item 
UIKIT\+\_\+\+EXTERN \mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMap\+Rect}} \mbox{\hyperlink{_b_m_k_geometry_8h_af46516f57d0abfd6d8aa902bc50060a6}{BMKMap\+Rect\+Intersection}} (\mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMap\+Rect}} rect1, \mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMap\+Rect}} rect2)
\item 
UIKIT\+\_\+\+EXTERN \mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMap\+Rect}} \mbox{\hyperlink{_b_m_k_geometry_8h_a717e60a9798195b716d083f3e8da1d54}{BMKMap\+Rect\+Inset}} (\mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMap\+Rect}} rect, double dx, double dy)
\item 
UIKIT\+\_\+\+EXTERN \mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMap\+Rect}} \mbox{\hyperlink{_b_m_k_geometry_8h_a895de18577c2de7a4d0843d61be5d948}{BMKMap\+Rect\+Offset}} (\mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMap\+Rect}} rect, double dx, double dy)
\item 
UIKIT\+\_\+\+EXTERN void \mbox{\hyperlink{_b_m_k_geometry_8h_a32fb4cbbc882aefdffb1981b2a445621}{BMKMap\+Rect\+Divide}} (\mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMap\+Rect}} rect, \mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMap\+Rect}} \texorpdfstring{$\ast$}{*}slice, \mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMap\+Rect}} \texorpdfstring{$\ast$}{*}remainder, double amount, CGRect\+Edge edge)
\item 
UIKIT\+\_\+\+EXTERN BOOL \mbox{\hyperlink{_b_m_k_geometry_8h_a756802dc5d51b9e783f9d83711b2972f}{BMKMap\+Rect\+Contains\+Point}} (\mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMap\+Rect}} rect, \mbox{\hyperlink{struct_b_m_k_map_point}{BMKMap\+Point}} point)
\item 
UIKIT\+\_\+\+EXTERN BOOL \mbox{\hyperlink{_b_m_k_geometry_8h_a3bf9df0b02a9c78e5daa7862c3c197e5}{BMKMap\+Rect\+Contains\+Rect}} (\mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMap\+Rect}} rect1, \mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMap\+Rect}} rect2)
\item 
UIKIT\+\_\+\+EXTERN BOOL \mbox{\hyperlink{_b_m_k_geometry_8h_ad8fc8d14cda123242c551db6c820e0a1}{BMKMap\+Rect\+Intersects\+Rect}} (\mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMap\+Rect}} rect1, \mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMap\+Rect}} rect2)
\item 
UIKIT\+\_\+\+EXTERN \mbox{\hyperlink{struct_b_m_k_coordinate_region}{BMKCoordinate\+Region}} \mbox{\hyperlink{_b_m_k_geometry_8h_a779ad65709d575145d839d1d7e972064}{BMKCoordinate\+Region\+For\+Map\+Rect}} (\mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMap\+Rect}} rect)
\item 
UIKIT\+\_\+\+EXTERN BOOL \mbox{\hyperlink{_b_m_k_geometry_8h_a2fa044766e6c2c56e831a552c1b25d7b}{BMKMap\+Rect\+Spans180th\+Meridian}} (\mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMap\+Rect}} rect)
\item 
UIKIT\+\_\+\+EXTERN \mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMap\+Rect}} \mbox{\hyperlink{_b_m_k_geometry_8h_acdf6820a550a4c953020fc136a17e4b1}{BMKMap\+Rect\+Remainder}} (\mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMap\+Rect}} rect)
\item 
UIKIT\+\_\+\+EXTERN BOOL \mbox{\hyperlink{_b_m_k_geometry_8h_a545c528fdcc5a2090aeb287f0ea6bde3}{BMKCircle\+Contains\+Point}} (\mbox{\hyperlink{struct_b_m_k_map_point}{BMKMap\+Point}} point, \mbox{\hyperlink{struct_b_m_k_map_point}{BMKMap\+Point}} center, double radius)
\item 
UIKIT\+\_\+\+EXTERN BOOL \mbox{\hyperlink{_b_m_k_geometry_8h_aead8a56da76ac340393379c4cc3d3bc2}{BMKCircle\+Contains\+Coordinate}} (CLLocation\+Coordinate2D point, CLLocation\+Coordinate2D center, double radius)
\item 
UIKIT\+\_\+\+EXTERN BOOL \mbox{\hyperlink{_b_m_k_geometry_8h_aa219741f9bcead52b85ab04da3727845}{BMKPolygon\+Contains\+Point}} (\mbox{\hyperlink{struct_b_m_k_map_point}{BMKMap\+Point}} point, \mbox{\hyperlink{struct_b_m_k_map_point}{BMKMap\+Point}} \texorpdfstring{$\ast$}{*}polygon, NSUInteger count)
\item 
UIKIT\+\_\+\+EXTERN BOOL \mbox{\hyperlink{_b_m_k_geometry_8h_a563160557104fef92a47f118ac05c6ec}{BMKPolygon\+Contains\+Coordinate}} (CLLocation\+Coordinate2D point, CLLocation\+Coordinate2D \texorpdfstring{$\ast$}{*}polygon, NSUInteger count)
\item 
UIKIT\+\_\+\+EXTERN double \mbox{\hyperlink{_b_m_k_geometry_8h_a01d5bd4975df0f0a7035f7d384794571}{BMKArea\+Between\+Coordinates}} (CLLocation\+Coordinate2D left\+Top, CLLocation\+Coordinate2D right\+Bottom)
\item 
UIKIT\+\_\+\+EXTERN double \mbox{\hyperlink{_b_m_k_geometry_8h_a4749a42c8375ef450041f7c145a7ed94}{BMKArea\+For\+Polygon}} (CLLocation\+Coordinate2D \texorpdfstring{$\ast$}{*}coordinates, int count)
\item 
UIKIT\+\_\+\+EXTERN CLLocation\+Direction \mbox{\hyperlink{_b_m_k_geometry_8h_a838e0ee685317da9a3f92645b58d6236}{BMKGet\+Direction\+From\+Coords}} (CLLocation\+Coordinate2D start\+Coord, CLLocation\+Coordinate2D end\+Coord)
\item 
UIKIT\+\_\+\+EXTERN CLLocation\+Direction \mbox{\hyperlink{_b_m_k_geometry_8h_a690ac10a9653824fe796e3dd95015ac6}{BMKGet\+Direction\+From\+Points}} (\mbox{\hyperlink{struct_b_m_k_map_point}{BMKMap\+Point}} start\+Pt, \mbox{\hyperlink{struct_b_m_k_map_point}{BMKMap\+Point}} end\+Pt)
\item 
UIKIT\+\_\+\+STATIC\+\_\+\+INLINE NSString \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{_b_m_k_geometry_8h_a0b2bb97d16634901cbde4b13584a5063}{BMKString\+From\+Map\+Point}} (\mbox{\hyperlink{struct_b_m_k_map_point}{BMKMap\+Point}} point)
\item 
UIKIT\+\_\+\+STATIC\+\_\+\+INLINE NSString \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{_b_m_k_geometry_8h_a95d15a9dadfd3a3e5ee68c6e049fbe10}{BMKString\+From\+Map\+Size}} (\mbox{\hyperlink{struct_b_m_k_map_size}{BMKMap\+Size}} size)
\item 
UIKIT\+\_\+\+STATIC\+\_\+\+INLINE NSString \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{_b_m_k_geometry_8h_a5946f9224139b71e3007f863fd45d536}{BMKString\+From\+Map\+Rect}} (\mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMap\+Rect}} rect)
\item 
UIKIT\+\_\+\+EXTERN CLLocation\+Coordinate2D \mbox{\hyperlink{_b_m_k_geometry_8h_ac75142905f8c4cd5e3bf63e2b01f5b06}{BMKCoor\+Dictionary\+Decode}} (NSDictionary \texorpdfstring{$\ast$}{*}dictionary)
\item 
UIKIT\+\_\+\+EXTERN \mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMap\+Rect}} \mbox{\hyperlink{_b_m_k_geometry_8h_abf336e6dffedb11e4defd74aa14babe5}{BMKMap\+Rect\+From\+Encoded\+Geo\+Points}} (NSString \texorpdfstring{$\ast$}{*}encoded\+Geo\+Points, BMKEncode\+Point\+Type type)
\item 
UIKIT\+\_\+\+EXTERN BOOL \mbox{\hyperlink{_b_m_k_geometry_8h_a66e54a2d4e52a6a4f2d3f6651c52084f}{BMKEncoded\+Geo\+Points\+Contains\+Point}} (\mbox{\hyperlink{struct_b_m_k_map_point}{BMKMap\+Point}} point, NSString \texorpdfstring{$\ast$}{*}encoded\+Geo\+Points, BMKEncode\+Point\+Type type)
\item 
UIKIT\+\_\+\+EXTERN BOOL \mbox{\hyperlink{_b_m_k_geometry_8h_af2166d9c0e5a437deb092c746e112206}{BMKEncoded\+Geo\+Points\+Contains\+Coordinate}} (CLLocation\+Coordinate2D point, NSString \texorpdfstring{$\ast$}{*}encoded\+Geo\+Points, BMKEncode\+Point\+Type type)
\end{DoxyCompactItemize}


\doxysubsection{函数说明}
\Hypertarget{_b_m_k_geometry_8h_a01d5bd4975df0f0a7035f7d384794571}\label{_b_m_k_geometry_8h_a01d5bd4975df0f0a7035f7d384794571} 
\index{BMKGeometry.h@{BMKGeometry.h}!BMKAreaBetweenCoordinates@{BMKAreaBetweenCoordinates}}
\index{BMKAreaBetweenCoordinates@{BMKAreaBetweenCoordinates}!BMKGeometry.h@{BMKGeometry.h}}
\doxysubsubsection{\texorpdfstring{BMKAreaBetweenCoordinates()}{BMKAreaBetweenCoordinates()}}
{\footnotesize\ttfamily UIKIT\+\_\+\+EXTERN double BMKArea\+Between\+Coordinates (\begin{DoxyParamCaption}\item[{CLLocation\+Coordinate2D}]{left\+Top,  }\item[{CLLocation\+Coordinate2D}]{right\+Bottom }\end{DoxyParamCaption})}

计算地理矩形区域的面积 
\begin{DoxyParams}{参数}
{\em left\+Top} & 左上角经纬度坐标点 \\
\hline
{\em right\+Bottom} & 右下角经纬度坐标点 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
返回区域面积，单位：平方米 
\end{DoxyReturn}
\Hypertarget{_b_m_k_geometry_8h_a4749a42c8375ef450041f7c145a7ed94}\label{_b_m_k_geometry_8h_a4749a42c8375ef450041f7c145a7ed94} 
\index{BMKGeometry.h@{BMKGeometry.h}!BMKAreaForPolygon@{BMKAreaForPolygon}}
\index{BMKAreaForPolygon@{BMKAreaForPolygon}!BMKGeometry.h@{BMKGeometry.h}}
\doxysubsubsection{\texorpdfstring{BMKAreaForPolygon()}{BMKAreaForPolygon()}}
{\footnotesize\ttfamily UIKIT\+\_\+\+EXTERN double BMKArea\+For\+Polygon (\begin{DoxyParamCaption}\item[{CLLocation\+Coordinate2D \texorpdfstring{$\ast$}{*}}]{coordinates,  }\item[{int}]{count }\end{DoxyParamCaption})}

根据经纬度计算多边形面积，点与点之间按顺序尾部相连, 第一个点与最后一个点相连 该计算是将地球视为标准球体(R=6378137.\+0)得到的结果，与实际地理面积有误差。 
\begin{DoxyParams}{参数}
{\em coordinates} & 指定的经纬度坐标点数组，\+C数组，调用者负责内存管理 \\
\hline
{\em count} & 坐标点的个数 count \texorpdfstring{$>$}{>}=3 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
多边形的面积 单位平方米 
\end{DoxyReturn}
\Hypertarget{_b_m_k_geometry_8h_aead8a56da76ac340393379c4cc3d3bc2}\label{_b_m_k_geometry_8h_aead8a56da76ac340393379c4cc3d3bc2} 
\index{BMKGeometry.h@{BMKGeometry.h}!BMKCircleContainsCoordinate@{BMKCircleContainsCoordinate}}
\index{BMKCircleContainsCoordinate@{BMKCircleContainsCoordinate}!BMKGeometry.h@{BMKGeometry.h}}
\doxysubsubsection{\texorpdfstring{BMKCircleContainsCoordinate()}{BMKCircleContainsCoordinate()}}
{\footnotesize\ttfamily UIKIT\+\_\+\+EXTERN BOOL BMKCircle\+Contains\+Coordinate (\begin{DoxyParamCaption}\item[{CLLocation\+Coordinate2D}]{point,  }\item[{CLLocation\+Coordinate2D}]{center,  }\item[{double}]{radius }\end{DoxyParamCaption})}

判断点是否在圆内 
\begin{DoxyParams}{参数}
{\em point} & 待判断的经纬度坐标点 \\
\hline
{\em center} & 目标圆形的中心点经纬度坐标 \\
\hline
{\em radius} & 目标圆形的半径，单位m \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
如果在内，返回\+YES，否则返回\+NO 
\end{DoxyReturn}
\Hypertarget{_b_m_k_geometry_8h_a545c528fdcc5a2090aeb287f0ea6bde3}\label{_b_m_k_geometry_8h_a545c528fdcc5a2090aeb287f0ea6bde3} 
\index{BMKGeometry.h@{BMKGeometry.h}!BMKCircleContainsPoint@{BMKCircleContainsPoint}}
\index{BMKCircleContainsPoint@{BMKCircleContainsPoint}!BMKGeometry.h@{BMKGeometry.h}}
\doxysubsubsection{\texorpdfstring{BMKCircleContainsPoint()}{BMKCircleContainsPoint()}}
{\footnotesize\ttfamily UIKIT\+\_\+\+EXTERN BOOL BMKCircle\+Contains\+Point (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_b_m_k_map_point}{BMKMap\+Point}}}]{point,  }\item[{\mbox{\hyperlink{struct_b_m_k_map_point}{BMKMap\+Point}}}]{center,  }\item[{double}]{radius }\end{DoxyParamCaption})}

判断点是否在圆内 
\begin{DoxyParams}{参数}
{\em point} & 待判断的平面坐标点 \\
\hline
{\em center} & 目标圆形的中心点平面坐标 \\
\hline
{\em radius} & 目标圆形的半径，单位m \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
如果在内，返回\+YES，否则返回\+NO 
\end{DoxyReturn}
\Hypertarget{_b_m_k_geometry_8h_aae0f4db531bfb59c2365dc8a748a3347}\label{_b_m_k_geometry_8h_aae0f4db531bfb59c2365dc8a748a3347} 
\index{BMKGeometry.h@{BMKGeometry.h}!BMKConvertBaiduCoorFrom@{BMKConvertBaiduCoorFrom}}
\index{BMKConvertBaiduCoorFrom@{BMKConvertBaiduCoorFrom}!BMKGeometry.h@{BMKGeometry.h}}
\doxysubsubsection{\texorpdfstring{BMKConvertBaiduCoorFrom()}{BMKConvertBaiduCoorFrom()}}
{\footnotesize\ttfamily FOUNDATION\+\_\+\+EXTERN NSDictionary \texorpdfstring{$\ast$}{*} BMKConvert\+Baidu\+Coor\+From (\begin{DoxyParamCaption}\item[{CLLocation\+Coordinate2D}]{coordinate,  }\item[{BMK\+\_\+\+COORD\+\_\+\+TYPE}]{type }\end{DoxyParamCaption})}

坐标转换函数，从原始\+GPS坐标，mapbar坐标,google坐标，51地图坐标，mapabc坐标转换为百度坐标（51地图坐标需要显出10000） 
\begin{DoxyParams}{参数}
{\em coordinate} & 待转换的坐标 \\
\hline
{\em type} & 待转换的坐标系类型，\+GPS为原始\+GPS坐标，\+COMMON为google坐标，51地图坐标，mapabc坐标 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
返回的\+NSDictionry中包含“x”，“y”字段，各自对应经过base64加密之后的x，y坐标 
\end{DoxyReturn}
\Hypertarget{_b_m_k_geometry_8h_a122ddbb0a69377d11a0f165ff84e2157}\label{_b_m_k_geometry_8h_a122ddbb0a69377d11a0f165ff84e2157} 
\index{BMKGeometry.h@{BMKGeometry.h}!BMKConvertToBaiduMercatorFromBD09LL@{BMKConvertToBaiduMercatorFromBD09LL}}
\index{BMKConvertToBaiduMercatorFromBD09LL@{BMKConvertToBaiduMercatorFromBD09LL}!BMKGeometry.h@{BMKGeometry.h}}
\doxysubsubsection{\texorpdfstring{BMKConvertToBaiduMercatorFromBD09LL()}{BMKConvertToBaiduMercatorFromBD09LL()}}
{\footnotesize\ttfamily UIKIT\+\_\+\+EXTERN CGPoint BMKConvert\+To\+Baidu\+Mercator\+From\+BD09\+LL (\begin{DoxyParamCaption}\item[{CLLocation\+Coordinate2D}]{bd09ll\+Coordinate }\end{DoxyParamCaption})}

由百度经纬度坐标转换得到百度墨卡托坐标 
\begin{DoxyParams}{参数}
{\em bd09ll\+Coordinate} & 百度经纬度坐标bd09ll \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
百度墨卡托坐标 
\end{DoxyReturn}
\Hypertarget{_b_m_k_geometry_8h_ad496be626f8fbf4ad91b4c2bd3000e22}\label{_b_m_k_geometry_8h_ad496be626f8fbf4ad91b4c2bd3000e22} 
\index{BMKGeometry.h@{BMKGeometry.h}!BMKConvertToBD09LLFromBaiduMercator@{BMKConvertToBD09LLFromBaiduMercator}}
\index{BMKConvertToBD09LLFromBaiduMercator@{BMKConvertToBD09LLFromBaiduMercator}!BMKGeometry.h@{BMKGeometry.h}}
\doxysubsubsection{\texorpdfstring{BMKConvertToBD09LLFromBaiduMercator()}{BMKConvertToBD09LLFromBaiduMercator()}}
{\footnotesize\ttfamily UIKIT\+\_\+\+EXTERN CLLocation\+Coordinate2D BMKConvert\+To\+BD09\+LLFrom\+Baidu\+Mercator (\begin{DoxyParamCaption}\item[{CGPoint}]{bd\+MCTCoordinate }\end{DoxyParamCaption})}

由百度墨卡托坐标转换得到百度经纬度坐标 
\begin{DoxyParams}{参数}
{\em bd\+MCTCoordinate} & 百度墨卡托坐标 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
百度经纬度坐标\+BD09\+LL 
\end{DoxyReturn}
\Hypertarget{_b_m_k_geometry_8h_ac75142905f8c4cd5e3bf63e2b01f5b06}\label{_b_m_k_geometry_8h_ac75142905f8c4cd5e3bf63e2b01f5b06} 
\index{BMKGeometry.h@{BMKGeometry.h}!BMKCoorDictionaryDecode@{BMKCoorDictionaryDecode}}
\index{BMKCoorDictionaryDecode@{BMKCoorDictionaryDecode}!BMKGeometry.h@{BMKGeometry.h}}
\doxysubsubsection{\texorpdfstring{BMKCoorDictionaryDecode()}{BMKCoorDictionaryDecode()}}
{\footnotesize\ttfamily UIKIT\+\_\+\+EXTERN CLLocation\+Coordinate2D BMKCoor\+Dictionary\+Decode (\begin{DoxyParamCaption}\item[{NSDictionary \texorpdfstring{$\ast$}{*}}]{dictionary }\end{DoxyParamCaption})}

base64加密后的坐标字典解密函数 
\begin{DoxyParams}{参数}
{\em dictionary} & 带解密的\+NSDictionry，该\+NSDictionry中应包含“x”，“y”字段，各自对应经过base64加密之后的x，y坐标 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
解密之后的坐标 
\end{DoxyReturn}
\Hypertarget{_b_m_k_geometry_8h_a82e1819974df12b83c0f899b27f1e1cd}\label{_b_m_k_geometry_8h_a82e1819974df12b83c0f899b27f1e1cd} 
\index{BMKGeometry.h@{BMKGeometry.h}!BMKCoordinateForMapPoint@{BMKCoordinateForMapPoint}}
\index{BMKCoordinateForMapPoint@{BMKCoordinateForMapPoint}!BMKGeometry.h@{BMKGeometry.h}}
\doxysubsubsection{\texorpdfstring{BMKCoordinateForMapPoint()}{BMKCoordinateForMapPoint()}}
{\footnotesize\ttfamily UIKIT\+\_\+\+EXTERN CLLocation\+Coordinate2D BMKCoordinate\+For\+Map\+Point (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_b_m_k_map_point}{BMKMap\+Point}}}]{map\+Point }\end{DoxyParamCaption})}

将投影后的直角地理坐标转换为经纬度坐标 
\begin{DoxyParams}{参数}
{\em map\+Point} & 投影后的直角地理坐标 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
转换后的经纬度坐标 
\end{DoxyReturn}
\Hypertarget{_b_m_k_geometry_8h_a779ad65709d575145d839d1d7e972064}\label{_b_m_k_geometry_8h_a779ad65709d575145d839d1d7e972064} 
\index{BMKGeometry.h@{BMKGeometry.h}!BMKCoordinateRegionForMapRect@{BMKCoordinateRegionForMapRect}}
\index{BMKCoordinateRegionForMapRect@{BMKCoordinateRegionForMapRect}!BMKGeometry.h@{BMKGeometry.h}}
\doxysubsubsection{\texorpdfstring{BMKCoordinateRegionForMapRect()}{BMKCoordinateRegionForMapRect()}}
{\footnotesize\ttfamily UIKIT\+\_\+\+EXTERN \mbox{\hyperlink{struct_b_m_k_coordinate_region}{BMKCoordinate\+Region}} BMKCoordinate\+Region\+For\+Map\+Rect (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMap\+Rect}}}]{rect }\end{DoxyParamCaption})}

将投影后的直角坐标矩形转换为泳经纬度表示的范围 
\begin{DoxyParams}{参数}
{\em rect} & 待转换的直角坐标矩形 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
转换后的经纬度范围 
\end{DoxyReturn}
\Hypertarget{_b_m_k_geometry_8h_a30878e885fa02a2605bb194645736a36}\label{_b_m_k_geometry_8h_a30878e885fa02a2605bb194645736a36} 
\index{BMKGeometry.h@{BMKGeometry.h}!BMKCoordinateRegionMakeWithDistance@{BMKCoordinateRegionMakeWithDistance}}
\index{BMKCoordinateRegionMakeWithDistance@{BMKCoordinateRegionMakeWithDistance}!BMKGeometry.h@{BMKGeometry.h}}
\doxysubsubsection{\texorpdfstring{BMKCoordinateRegionMakeWithDistance()}{BMKCoordinateRegionMakeWithDistance()}}
{\footnotesize\ttfamily UIKIT\+\_\+\+EXTERN \mbox{\hyperlink{struct_b_m_k_coordinate_region}{BMKCoordinate\+Region}} BMKCoordinate\+Region\+Make\+With\+Distance (\begin{DoxyParamCaption}\item[{CLLocation\+Coordinate2D}]{center\+Coordinate,  }\item[{CLLocation\+Distance}]{latitudinal\+Meters,  }\item[{CLLocation\+Distance}]{longitudinal\+Meters }\end{DoxyParamCaption})}

根据中心点和距离生成\+BMKCoordinate\+Region 
\begin{DoxyParams}{参数}
{\em center\+Coordinate} & 中心点坐标 \\
\hline
{\em latitudinal\+Meters} & 纬度方向的距离范围，单位：米 \\
\hline
{\em longitudinal\+Meters} & 经度方向的距离范围，单位：米 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
根据中心点和距离生成\+BMKCoordinate\+Region 
\end{DoxyReturn}
\Hypertarget{_b_m_k_geometry_8h_aa77eaf6640f467507f1c6c0ba9d6b47a}\label{_b_m_k_geometry_8h_aa77eaf6640f467507f1c6c0ba9d6b47a} 
\index{BMKGeometry.h@{BMKGeometry.h}!BMKCoordTrans@{BMKCoordTrans}}
\index{BMKCoordTrans@{BMKCoordTrans}!BMKGeometry.h@{BMKGeometry.h}}
\doxysubsubsection{\texorpdfstring{BMKCoordTrans()}{BMKCoordTrans()}}
{\footnotesize\ttfamily UIKIT\+\_\+\+EXTERN CLLocation\+Coordinate2D BMKCoord\+Trans (\begin{DoxyParamCaption}\item[{CLLocation\+Coordinate2D}]{coordinate,  }\item[{BMK\+\_\+\+COORD\+\_\+\+TYPE}]{from\+Type,  }\item[{BMK\+\_\+\+COORD\+\_\+\+TYPE}]{to\+Type }\end{DoxyParamCaption})}

经纬度坐标之间的坐标转换 支持\+WGS84\+LL-\/\texorpdfstring{$>$}{>}BD09\+LL, WGS84\+LL-\/\texorpdfstring{$>$}{>}GCJ02\+LL, GCJ02\+LL-\/\texorpdfstring{$>$}{>}BD09\+LL, BD09\+LL-\/\texorpdfstring{$>$}{>}GCJ02\+LL 输入输出坐标为其他类型时，认为是非法输入，返回的坐标中经纬度均为0


\begin{DoxyParams}{参数}
{\em coordinate} & 待转换的原始经纬度坐标 \\
\hline
{\em from\+Type} & 原始经纬度坐标的坐标类型 \\
\hline
{\em to\+Type} & 目标的经纬度坐标类型 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
转换后的经纬度坐标 
\end{DoxyReturn}
\Hypertarget{_b_m_k_geometry_8h_af2166d9c0e5a437deb092c746e112206}\label{_b_m_k_geometry_8h_af2166d9c0e5a437deb092c746e112206} 
\index{BMKGeometry.h@{BMKGeometry.h}!BMKEncodedGeoPointsContainsCoordinate@{BMKEncodedGeoPointsContainsCoordinate}}
\index{BMKEncodedGeoPointsContainsCoordinate@{BMKEncodedGeoPointsContainsCoordinate}!BMKGeometry.h@{BMKGeometry.h}}
\doxysubsubsection{\texorpdfstring{BMKEncodedGeoPointsContainsCoordinate()}{BMKEncodedGeoPointsContainsCoordinate()}}
{\footnotesize\ttfamily UIKIT\+\_\+\+EXTERN BOOL BMKEncoded\+Geo\+Points\+Contains\+Coordinate (\begin{DoxyParamCaption}\item[{CLLocation\+Coordinate2D}]{point,  }\item[{NSString \texorpdfstring{$\ast$}{*}}]{encoded\+Geo\+Points,  }\item[{BMKEncode\+Point\+Type}]{type }\end{DoxyParamCaption})}

判断点是否在多边形加密点集内 since 6.\+6.\+0 
\begin{DoxyParams}{参数}
{\em point} & 待判断的经纬度点 \\
\hline
{\em encoded\+Geo\+Points} & 加密的点信息 \\
\hline
{\em type} & 加密数据类型 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
如果在内，返回\+YES，否则返回\+NO 
\end{DoxyReturn}
\Hypertarget{_b_m_k_geometry_8h_a66e54a2d4e52a6a4f2d3f6651c52084f}\label{_b_m_k_geometry_8h_a66e54a2d4e52a6a4f2d3f6651c52084f} 
\index{BMKGeometry.h@{BMKGeometry.h}!BMKEncodedGeoPointsContainsPoint@{BMKEncodedGeoPointsContainsPoint}}
\index{BMKEncodedGeoPointsContainsPoint@{BMKEncodedGeoPointsContainsPoint}!BMKGeometry.h@{BMKGeometry.h}}
\doxysubsubsection{\texorpdfstring{BMKEncodedGeoPointsContainsPoint()}{BMKEncodedGeoPointsContainsPoint()}}
{\footnotesize\ttfamily UIKIT\+\_\+\+EXTERN BOOL BMKEncoded\+Geo\+Points\+Contains\+Point (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_b_m_k_map_point}{BMKMap\+Point}}}]{point,  }\item[{NSString \texorpdfstring{$\ast$}{*}}]{encoded\+Geo\+Points,  }\item[{BMKEncode\+Point\+Type}]{type }\end{DoxyParamCaption})}

判断点是否在多边形加密点集内 since 6.\+6.\+0 
\begin{DoxyParams}{参数}
{\em point} & 待判断的平面坐标点 \\
\hline
{\em encoded\+Geo\+Points} & 加密的点信息 \\
\hline
{\em type} & 加密数据类型 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
如果在内，返回\+YES，否则返回\+NO 
\end{DoxyReturn}
\Hypertarget{_b_m_k_geometry_8h_a838e0ee685317da9a3f92645b58d6236}\label{_b_m_k_geometry_8h_a838e0ee685317da9a3f92645b58d6236} 
\index{BMKGeometry.h@{BMKGeometry.h}!BMKGetDirectionFromCoords@{BMKGetDirectionFromCoords}}
\index{BMKGetDirectionFromCoords@{BMKGetDirectionFromCoords}!BMKGeometry.h@{BMKGeometry.h}}
\doxysubsubsection{\texorpdfstring{BMKGetDirectionFromCoords()}{BMKGetDirectionFromCoords()}}
{\footnotesize\ttfamily UIKIT\+\_\+\+EXTERN CLLocation\+Direction BMKGet\+Direction\+From\+Coords (\begin{DoxyParamCaption}\item[{CLLocation\+Coordinate2D}]{start\+Coord,  }\item[{CLLocation\+Coordinate2D}]{end\+Coord }\end{DoxyParamCaption})}

获取矢量坐标方向 
\begin{DoxyParams}{参数}
{\em start\+Coord} & 矢量坐标起点 \\
\hline
{\em end\+Coord} & 矢量坐标终点 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
方向，详情参考系统 CLLocation\+Direction 
\end{DoxyReturn}
\Hypertarget{_b_m_k_geometry_8h_a690ac10a9653824fe796e3dd95015ac6}\label{_b_m_k_geometry_8h_a690ac10a9653824fe796e3dd95015ac6} 
\index{BMKGeometry.h@{BMKGeometry.h}!BMKGetDirectionFromPoints@{BMKGetDirectionFromPoints}}
\index{BMKGetDirectionFromPoints@{BMKGetDirectionFromPoints}!BMKGeometry.h@{BMKGeometry.h}}
\doxysubsubsection{\texorpdfstring{BMKGetDirectionFromPoints()}{BMKGetDirectionFromPoints()}}
{\footnotesize\ttfamily UIKIT\+\_\+\+EXTERN CLLocation\+Direction BMKGet\+Direction\+From\+Points (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_b_m_k_map_point}{BMKMap\+Point}}}]{start\+Pt,  }\item[{\mbox{\hyperlink{struct_b_m_k_map_point}{BMKMap\+Point}}}]{end\+Pt }\end{DoxyParamCaption})}

获取矢量坐标方向 
\begin{DoxyParams}{参数}
{\em start\+Pt} & 矢量坐标起点 \\
\hline
{\em end\+Pt} & 矢量坐标终点 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
方向，详情参考系统 CLLocation\+Direction 
\end{DoxyReturn}
\Hypertarget{_b_m_k_geometry_8h_ac7c70c6f2f19459b99391454b45c909d}\label{_b_m_k_geometry_8h_ac7c70c6f2f19459b99391454b45c909d} 
\index{BMKGeometry.h@{BMKGeometry.h}!BMKGetDistanceFromPointToLine@{BMKGetDistanceFromPointToLine}}
\index{BMKGetDistanceFromPointToLine@{BMKGetDistanceFromPointToLine}!BMKGeometry.h@{BMKGeometry.h}}
\doxysubsubsection{\texorpdfstring{BMKGetDistanceFromPointToLine()}{BMKGetDistanceFromPointToLine()}}
{\footnotesize\ttfamily UIKIT\+\_\+\+EXTERN CLLocation\+Distance BMKGet\+Distance\+From\+Point\+To\+Line (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_b_m_k_map_point}{BMKMap\+Point}}}]{point,  }\item[{\mbox{\hyperlink{struct_b_m_k_map_point}{BMKMap\+Point}}}]{line\+Start\+Pt,  }\item[{\mbox{\hyperlink{struct_b_m_k_map_point}{BMKMap\+Point}}}]{line\+End\+Pt }\end{DoxyParamCaption})}

获取点到线的垂距 
\begin{DoxyParams}{参数}
{\em point} & 目标点 \\
\hline
{\em line\+Start\+Pt} & 线的起点 \\
\hline
{\em line\+End\+Pt} & 线的终点 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
距离，单位米 
\end{DoxyReturn}
\Hypertarget{_b_m_k_geometry_8h_ae16b0357dd9b8009aaaff2721da08010}\label{_b_m_k_geometry_8h_ae16b0357dd9b8009aaaff2721da08010} 
\index{BMKGeometry.h@{BMKGeometry.h}!BMKGetNearestMapPointFromPolyline@{BMKGetNearestMapPointFromPolyline}}
\index{BMKGetNearestMapPointFromPolyline@{BMKGetNearestMapPointFromPolyline}!BMKGeometry.h@{BMKGeometry.h}}
\doxysubsubsection{\texorpdfstring{BMKGetNearestMapPointFromPolyline()}{BMKGetNearestMapPointFromPolyline()}}
{\footnotesize\ttfamily UIKIT\+\_\+\+EXTERN \mbox{\hyperlink{struct_b_m_k_map_point}{BMKMap\+Point}} BMKGet\+Nearest\+Map\+Point\+From\+Polyline (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_b_m_k_map_point}{BMKMap\+Point}}}]{point,  }\item[{\mbox{\hyperlink{struct_b_m_k_map_point}{BMKMap\+Point}} \texorpdfstring{$\ast$}{*}}]{polyline,  }\item[{NSUInteger}]{count }\end{DoxyParamCaption})}

获取折线外某点到这线上距离最近的点 
\begin{DoxyParams}{参数}
{\em point} & 待判断的经纬度点 \\
\hline
{\em polyline} & 目标折线的顶点数组 \\
\hline
{\em count} & 目标折线顶点数组元素个数 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
返回折线上的点（距离point最近） 
\end{DoxyReturn}
\Hypertarget{_b_m_k_geometry_8h_abcb837b5559e421a0ee3a34c5f3a448f}\label{_b_m_k_geometry_8h_abcb837b5559e421a0ee3a34c5f3a448f} 
\index{BMKGeometry.h@{BMKGeometry.h}!BMKGetPointToTheVerticalFootOfLine@{BMKGetPointToTheVerticalFootOfLine}}
\index{BMKGetPointToTheVerticalFootOfLine@{BMKGetPointToTheVerticalFootOfLine}!BMKGeometry.h@{BMKGeometry.h}}
\doxysubsubsection{\texorpdfstring{BMKGetPointToTheVerticalFootOfLine()}{BMKGetPointToTheVerticalFootOfLine()}}
{\footnotesize\ttfamily UIKIT\+\_\+\+EXTERN \mbox{\hyperlink{struct_b_m_k_map_point}{BMKMap\+Point}} BMKGet\+Point\+To\+The\+Vertical\+Foot\+Of\+Line (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_b_m_k_map_point}{BMKMap\+Point}}}]{point,  }\item[{\mbox{\hyperlink{struct_b_m_k_map_point}{BMKMap\+Point}}}]{line\+Start\+Pt,  }\item[{\mbox{\hyperlink{struct_b_m_k_map_point}{BMKMap\+Point}}}]{line\+End\+Pt }\end{DoxyParamCaption})}

点到线段的垂足 
\begin{DoxyParams}{参数}
{\em point} & 目标点 \\
\hline
{\em line\+Start\+Pt} & 线的起点 \\
\hline
{\em line\+End\+Pt} & 线的终点 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
BMKMap\+Point垂足点 
\end{DoxyReturn}
\Hypertarget{_b_m_k_geometry_8h_ade1aa48d7c452c6aae008fe2890fe05b}\label{_b_m_k_geometry_8h_ade1aa48d7c452c6aae008fe2890fe05b} 
\index{BMKGeometry.h@{BMKGeometry.h}!BMKMapPointEqualToPoint@{BMKMapPointEqualToPoint}}
\index{BMKMapPointEqualToPoint@{BMKMapPointEqualToPoint}!BMKGeometry.h@{BMKGeometry.h}}
\doxysubsubsection{\texorpdfstring{BMKMapPointEqualToPoint()}{BMKMapPointEqualToPoint()}}
{\footnotesize\ttfamily UIKIT\+\_\+\+STATIC\+\_\+\+INLINE BOOL BMKMap\+Point\+Equal\+To\+Point (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_b_m_k_map_point}{BMKMap\+Point}}}]{point1,  }\item[{\mbox{\hyperlink{struct_b_m_k_map_point}{BMKMap\+Point}}}]{point2 }\end{DoxyParamCaption})}

判断两个点是否相等 
\begin{DoxyParams}{参数}
{\em point1} & 第一个点 \\
\hline
{\em point2} & 第二个点 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
如果两点相等，返回\+YES，否则返回\+NO 
\end{DoxyReturn}
\Hypertarget{_b_m_k_geometry_8h_a8cdb8447bff118ee28d8de511faf32a7}\label{_b_m_k_geometry_8h_a8cdb8447bff118ee28d8de511faf32a7} 
\index{BMKGeometry.h@{BMKGeometry.h}!BMKMapPointForCoordinate@{BMKMapPointForCoordinate}}
\index{BMKMapPointForCoordinate@{BMKMapPointForCoordinate}!BMKGeometry.h@{BMKGeometry.h}}
\doxysubsubsection{\texorpdfstring{BMKMapPointForCoordinate()}{BMKMapPointForCoordinate()}}
{\footnotesize\ttfamily UIKIT\+\_\+\+EXTERN \mbox{\hyperlink{struct_b_m_k_map_point}{BMKMap\+Point}} BMKMap\+Point\+For\+Coordinate (\begin{DoxyParamCaption}\item[{CLLocation\+Coordinate2D}]{coordinate }\end{DoxyParamCaption})}

将经纬度坐标转换为投影后的直角地理坐标 
\begin{DoxyParams}{参数}
{\em coordinate} & 待转换的经纬度坐标 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
转换后的直角地理坐标 
\end{DoxyReturn}
\Hypertarget{_b_m_k_geometry_8h_a3766563510b0551c4304fa06562e54a2}\label{_b_m_k_geometry_8h_a3766563510b0551c4304fa06562e54a2} 
\index{BMKGeometry.h@{BMKGeometry.h}!BMKMapPointsPerMeterAtLatitude@{BMKMapPointsPerMeterAtLatitude}}
\index{BMKMapPointsPerMeterAtLatitude@{BMKMapPointsPerMeterAtLatitude}!BMKGeometry.h@{BMKGeometry.h}}
\doxysubsubsection{\texorpdfstring{BMKMapPointsPerMeterAtLatitude()}{BMKMapPointsPerMeterAtLatitude()}}
{\footnotesize\ttfamily UIKIT\+\_\+\+EXTERN double BMKMap\+Points\+Per\+Meter\+At\+Latitude (\begin{DoxyParamCaption}\item[{CLLocation\+Degrees}]{latitude }\end{DoxyParamCaption})}

计算在指定纬度下一米对应的\+MKMap\+Point的单位数 
\begin{DoxyParams}{参数}
{\em latitude} & 指定的纬度 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
在指定纬度下一米对应的\+MKMap\+Point的单位数 
\end{DoxyReturn}
\Hypertarget{_b_m_k_geometry_8h_a756802dc5d51b9e783f9d83711b2972f}\label{_b_m_k_geometry_8h_a756802dc5d51b9e783f9d83711b2972f} 
\index{BMKGeometry.h@{BMKGeometry.h}!BMKMapRectContainsPoint@{BMKMapRectContainsPoint}}
\index{BMKMapRectContainsPoint@{BMKMapRectContainsPoint}!BMKGeometry.h@{BMKGeometry.h}}
\doxysubsubsection{\texorpdfstring{BMKMapRectContainsPoint()}{BMKMapRectContainsPoint()}}
{\footnotesize\ttfamily UIKIT\+\_\+\+EXTERN BOOL BMKMap\+Rect\+Contains\+Point (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMap\+Rect}}}]{rect,  }\item[{\mbox{\hyperlink{struct_b_m_k_map_point}{BMKMap\+Point}}}]{point }\end{DoxyParamCaption})}

判断指定点是否在某矩形内 
\begin{DoxyParams}{参数}
{\em rect} & 指定的矩形 \\
\hline
{\em point} & 指定的点 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
如果包含，返回\+YES，否则，返回\+NO 
\end{DoxyReturn}
\Hypertarget{_b_m_k_geometry_8h_a3bf9df0b02a9c78e5daa7862c3c197e5}\label{_b_m_k_geometry_8h_a3bf9df0b02a9c78e5daa7862c3c197e5} 
\index{BMKGeometry.h@{BMKGeometry.h}!BMKMapRectContainsRect@{BMKMapRectContainsRect}}
\index{BMKMapRectContainsRect@{BMKMapRectContainsRect}!BMKGeometry.h@{BMKGeometry.h}}
\doxysubsubsection{\texorpdfstring{BMKMapRectContainsRect()}{BMKMapRectContainsRect()}}
{\footnotesize\ttfamily UIKIT\+\_\+\+EXTERN BOOL BMKMap\+Rect\+Contains\+Rect (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMap\+Rect}}}]{rect1,  }\item[{\mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMap\+Rect}}}]{rect2 }\end{DoxyParamCaption})}

判断矩形rect1是否包含矩形rect2 
\begin{DoxyParams}{参数}
{\em rect1} & 矩形1 \\
\hline
{\em rect2} & 矩形2 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
如果包含，返回\+YES，否则，返回\+NO 
\end{DoxyReturn}
\Hypertarget{_b_m_k_geometry_8h_a32fb4cbbc882aefdffb1981b2a445621}\label{_b_m_k_geometry_8h_a32fb4cbbc882aefdffb1981b2a445621} 
\index{BMKGeometry.h@{BMKGeometry.h}!BMKMapRectDivide@{BMKMapRectDivide}}
\index{BMKMapRectDivide@{BMKMapRectDivide}!BMKGeometry.h@{BMKGeometry.h}}
\doxysubsubsection{\texorpdfstring{BMKMapRectDivide()}{BMKMapRectDivide()}}
{\footnotesize\ttfamily UIKIT\+\_\+\+EXTERN void BMKMap\+Rect\+Divide (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMap\+Rect}}}]{rect,  }\item[{\mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMap\+Rect}} \texorpdfstring{$\ast$}{*}}]{slice,  }\item[{\mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMap\+Rect}} \texorpdfstring{$\ast$}{*}}]{remainder,  }\item[{double}]{amount,  }\item[{CGRect\+Edge}]{edge }\end{DoxyParamCaption})}

矩形分割，将一个矩形分割为两个矩形 
\begin{DoxyParams}{参数}
{\em rect} & 待分割的矩形 \\
\hline
{\em slice} & 指针，用来保存分割后被移除的矩形 \\
\hline
{\em remainder} & 指针，用来保存分割后剩下的矩形 \\
\hline
{\em amount} & 指定分割的大小，如果设置为负数，则将自动调整为0 \\
\hline
{\em edge} & 用来指定要从那条边开始分割 \\
\hline
\end{DoxyParams}
\Hypertarget{_b_m_k_geometry_8h_aa64e3dd2b0333ddadda311abb367fc39}\label{_b_m_k_geometry_8h_aa64e3dd2b0333ddadda311abb367fc39} 
\index{BMKGeometry.h@{BMKGeometry.h}!BMKMapRectEqualToRect@{BMKMapRectEqualToRect}}
\index{BMKMapRectEqualToRect@{BMKMapRectEqualToRect}!BMKGeometry.h@{BMKGeometry.h}}
\doxysubsubsection{\texorpdfstring{BMKMapRectEqualToRect()}{BMKMapRectEqualToRect()}}
{\footnotesize\ttfamily UIKIT\+\_\+\+STATIC\+\_\+\+INLINE BOOL BMKMap\+Rect\+Equal\+To\+Rect (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMap\+Rect}}}]{rect1,  }\item[{\mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMap\+Rect}}}]{rect2 }\end{DoxyParamCaption})}

判断两个矩形是否相等 
\begin{DoxyParams}{参数}
{\em rect1} & 矩形1 \\
\hline
{\em rect2} & 矩形2 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
如果相等，返回\+YES，否则返回\+NO 
\end{DoxyReturn}
\Hypertarget{_b_m_k_geometry_8h_abf336e6dffedb11e4defd74aa14babe5}\label{_b_m_k_geometry_8h_abf336e6dffedb11e4defd74aa14babe5} 
\index{BMKGeometry.h@{BMKGeometry.h}!BMKMapRectFromEncodedGeoPoints@{BMKMapRectFromEncodedGeoPoints}}
\index{BMKMapRectFromEncodedGeoPoints@{BMKMapRectFromEncodedGeoPoints}!BMKGeometry.h@{BMKGeometry.h}}
\doxysubsubsection{\texorpdfstring{BMKMapRectFromEncodedGeoPoints()}{BMKMapRectFromEncodedGeoPoints()}}
{\footnotesize\ttfamily UIKIT\+\_\+\+EXTERN \mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMap\+Rect}} BMKMap\+Rect\+From\+Encoded\+Geo\+Points (\begin{DoxyParamCaption}\item[{NSString \texorpdfstring{$\ast$}{*}}]{encoded\+Geo\+Points,  }\item[{BMKEncode\+Point\+Type}]{type }\end{DoxyParamCaption})}

根据加密坐标数据计算出其外接矩形 since 6.\+5.\+2 
\begin{DoxyParams}{参数}
{\em encoded\+Geo\+Points} & 加密的点信息 \\
\hline
{\em type} & 加密数据类型 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
外接矩形 
\end{DoxyReturn}
\Hypertarget{_b_m_k_geometry_8h_ab5ea9c49c319a9ae494a7da167be6189}\label{_b_m_k_geometry_8h_ab5ea9c49c319a9ae494a7da167be6189} 
\index{BMKGeometry.h@{BMKGeometry.h}!BMKMapRectGetHeight@{BMKMapRectGetHeight}}
\index{BMKMapRectGetHeight@{BMKMapRectGetHeight}!BMKGeometry.h@{BMKGeometry.h}}
\doxysubsubsection{\texorpdfstring{BMKMapRectGetHeight()}{BMKMapRectGetHeight()}}
{\footnotesize\ttfamily UIKIT\+\_\+\+STATIC\+\_\+\+INLINE double BMKMap\+Rect\+Get\+Height (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMap\+Rect}}}]{rect }\end{DoxyParamCaption})}

获取指定矩形的高度 
\begin{DoxyParams}{参数}
{\em rect} & 指定的矩形 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
指定矩形的高度 
\end{DoxyReturn}
\Hypertarget{_b_m_k_geometry_8h_a2c1a5ec9570711e8524827fa9a395d0d}\label{_b_m_k_geometry_8h_a2c1a5ec9570711e8524827fa9a395d0d} 
\index{BMKGeometry.h@{BMKGeometry.h}!BMKMapRectGetWidth@{BMKMapRectGetWidth}}
\index{BMKMapRectGetWidth@{BMKMapRectGetWidth}!BMKGeometry.h@{BMKGeometry.h}}
\doxysubsubsection{\texorpdfstring{BMKMapRectGetWidth()}{BMKMapRectGetWidth()}}
{\footnotesize\ttfamily UIKIT\+\_\+\+STATIC\+\_\+\+INLINE double BMKMap\+Rect\+Get\+Width (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMap\+Rect}}}]{rect }\end{DoxyParamCaption})}

获取指定矩形的宽度 
\begin{DoxyParams}{参数}
{\em rect} & 指定的矩形 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
指定矩形的宽度 
\end{DoxyReturn}
\Hypertarget{_b_m_k_geometry_8h_a717e60a9798195b716d083f3e8da1d54}\label{_b_m_k_geometry_8h_a717e60a9798195b716d083f3e8da1d54} 
\index{BMKGeometry.h@{BMKGeometry.h}!BMKMapRectInset@{BMKMapRectInset}}
\index{BMKMapRectInset@{BMKMapRectInset}!BMKGeometry.h@{BMKGeometry.h}}
\doxysubsubsection{\texorpdfstring{BMKMapRectInset()}{BMKMapRectInset()}}
{\footnotesize\ttfamily UIKIT\+\_\+\+EXTERN \mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMap\+Rect}} BMKMap\+Rect\+Inset (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMap\+Rect}}}]{rect,  }\item[{double}]{dx,  }\item[{double}]{dy }\end{DoxyParamCaption})}

将矩形向内缩小dx，dy大小 
\begin{DoxyParams}{参数}
{\em rect} & 指定的矩形 \\
\hline
{\em dx} & x轴的变化量 \\
\hline
{\em dy} & y轴的变化量 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
调整后的矩形 
\end{DoxyReturn}
\Hypertarget{_b_m_k_geometry_8h_af46516f57d0abfd6d8aa902bc50060a6}\label{_b_m_k_geometry_8h_af46516f57d0abfd6d8aa902bc50060a6} 
\index{BMKGeometry.h@{BMKGeometry.h}!BMKMapRectIntersection@{BMKMapRectIntersection}}
\index{BMKMapRectIntersection@{BMKMapRectIntersection}!BMKGeometry.h@{BMKGeometry.h}}
\doxysubsubsection{\texorpdfstring{BMKMapRectIntersection()}{BMKMapRectIntersection()}}
{\footnotesize\ttfamily UIKIT\+\_\+\+EXTERN \mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMap\+Rect}} BMKMap\+Rect\+Intersection (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMap\+Rect}}}]{rect1,  }\item[{\mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMap\+Rect}}}]{rect2 }\end{DoxyParamCaption})}

计算两个矩形的交集 
\begin{DoxyParams}{参数}
{\em rect1} & 矩形1 \\
\hline
{\em rect2} & 矩形2 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
两个矩形的交集 
\end{DoxyReturn}
\Hypertarget{_b_m_k_geometry_8h_ad8fc8d14cda123242c551db6c820e0a1}\label{_b_m_k_geometry_8h_ad8fc8d14cda123242c551db6c820e0a1} 
\index{BMKGeometry.h@{BMKGeometry.h}!BMKMapRectIntersectsRect@{BMKMapRectIntersectsRect}}
\index{BMKMapRectIntersectsRect@{BMKMapRectIntersectsRect}!BMKGeometry.h@{BMKGeometry.h}}
\doxysubsubsection{\texorpdfstring{BMKMapRectIntersectsRect()}{BMKMapRectIntersectsRect()}}
{\footnotesize\ttfamily UIKIT\+\_\+\+EXTERN BOOL BMKMap\+Rect\+Intersects\+Rect (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMap\+Rect}}}]{rect1,  }\item[{\mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMap\+Rect}}}]{rect2 }\end{DoxyParamCaption})}

判断两矩形是否相交 
\begin{DoxyParams}{参数}
{\em rect1} & 矩形1 \\
\hline
{\em rect2} & 矩形2 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
如果相交，返回\+YES，否则，返回\+NO 
\end{DoxyReturn}
\Hypertarget{_b_m_k_geometry_8h_a6a49884fe83e2aeb08b6827bf9361ef9}\label{_b_m_k_geometry_8h_a6a49884fe83e2aeb08b6827bf9361ef9} 
\index{BMKGeometry.h@{BMKGeometry.h}!BMKMapRectIsEmpty@{BMKMapRectIsEmpty}}
\index{BMKMapRectIsEmpty@{BMKMapRectIsEmpty}!BMKGeometry.h@{BMKGeometry.h}}
\doxysubsubsection{\texorpdfstring{BMKMapRectIsEmpty()}{BMKMapRectIsEmpty()}}
{\footnotesize\ttfamily UIKIT\+\_\+\+STATIC\+\_\+\+INLINE BOOL BMKMap\+Rect\+Is\+Empty (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMap\+Rect}}}]{rect }\end{DoxyParamCaption})}

判断一个矩形是否为空矩形 
\begin{DoxyParams}{参数}
{\em rect} & 指定矩形 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
如果矩形为空矩形，返回\+YES，否则返回\+NO 
\end{DoxyReturn}
\Hypertarget{_b_m_k_geometry_8h_a895de18577c2de7a4d0843d61be5d948}\label{_b_m_k_geometry_8h_a895de18577c2de7a4d0843d61be5d948} 
\index{BMKGeometry.h@{BMKGeometry.h}!BMKMapRectOffset@{BMKMapRectOffset}}
\index{BMKMapRectOffset@{BMKMapRectOffset}!BMKGeometry.h@{BMKGeometry.h}}
\doxysubsubsection{\texorpdfstring{BMKMapRectOffset()}{BMKMapRectOffset()}}
{\footnotesize\ttfamily UIKIT\+\_\+\+EXTERN \mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMap\+Rect}} BMKMap\+Rect\+Offset (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMap\+Rect}}}]{rect,  }\item[{double}]{dx,  }\item[{double}]{dy }\end{DoxyParamCaption})}

将矩形原点偏移指定大小 
\begin{DoxyParams}{参数}
{\em rect} & 指定的矩形 \\
\hline
{\em dx} & x轴的偏移量 \\
\hline
{\em dy} & y轴的偏移量 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
调整后的矩形 
\end{DoxyReturn}
\Hypertarget{_b_m_k_geometry_8h_acdf6820a550a4c953020fc136a17e4b1}\label{_b_m_k_geometry_8h_acdf6820a550a4c953020fc136a17e4b1} 
\index{BMKGeometry.h@{BMKGeometry.h}!BMKMapRectRemainder@{BMKMapRectRemainder}}
\index{BMKMapRectRemainder@{BMKMapRectRemainder}!BMKGeometry.h@{BMKGeometry.h}}
\doxysubsubsection{\texorpdfstring{BMKMapRectRemainder()}{BMKMapRectRemainder()}}
{\footnotesize\ttfamily UIKIT\+\_\+\+EXTERN \mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMap\+Rect}} BMKMap\+Rect\+Remainder (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMap\+Rect}}}]{rect }\end{DoxyParamCaption})}

对于跨越了180经线的矩形，本函数将世界之外的部分进行分割，并将分割下来的矩形转换到地球对面，例如将-\/185度经线对应的区域转换到5度经线对应的区域，并将转换后的矩形返回 
\begin{DoxyParams}{参数}
{\em rect} & 待处理的矩形 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
返回转换后的矩形 
\end{DoxyReturn}
\Hypertarget{_b_m_k_geometry_8h_a2fa044766e6c2c56e831a552c1b25d7b}\label{_b_m_k_geometry_8h_a2fa044766e6c2c56e831a552c1b25d7b} 
\index{BMKGeometry.h@{BMKGeometry.h}!BMKMapRectSpans180thMeridian@{BMKMapRectSpans180thMeridian}}
\index{BMKMapRectSpans180thMeridian@{BMKMapRectSpans180thMeridian}!BMKGeometry.h@{BMKGeometry.h}}
\doxysubsubsection{\texorpdfstring{BMKMapRectSpans180thMeridian()}{BMKMapRectSpans180thMeridian()}}
{\footnotesize\ttfamily UIKIT\+\_\+\+EXTERN BOOL BMKMap\+Rect\+Spans180th\+Meridian (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMap\+Rect}}}]{rect }\end{DoxyParamCaption})}

判断指定的直角坐标矩形是否跨越了180度经线 
\begin{DoxyParams}{参数}
{\em rect} & 待判断的矩形 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
如果跨越，返回\+YES，否则返回\+NO 
\end{DoxyReturn}
\Hypertarget{_b_m_k_geometry_8h_aca2a7535ee5bfbd1204f48d2536f11ba}\label{_b_m_k_geometry_8h_aca2a7535ee5bfbd1204f48d2536f11ba} 
\index{BMKGeometry.h@{BMKGeometry.h}!BMKMapRectUnion@{BMKMapRectUnion}}
\index{BMKMapRectUnion@{BMKMapRectUnion}!BMKGeometry.h@{BMKGeometry.h}}
\doxysubsubsection{\texorpdfstring{BMKMapRectUnion()}{BMKMapRectUnion()}}
{\footnotesize\ttfamily UIKIT\+\_\+\+EXTERN \mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMap\+Rect}} BMKMap\+Rect\+Union (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMap\+Rect}}}]{rect1,  }\item[{\mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMap\+Rect}}}]{rect2 }\end{DoxyParamCaption})}

计算两个矩形的并集 
\begin{DoxyParams}{参数}
{\em rect1} & 矩形1 \\
\hline
{\em rect2} & 矩形2 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
两个矩形的并集 
\end{DoxyReturn}
\Hypertarget{_b_m_k_geometry_8h_adc307cf3a5707b82e78265ba6be1ffc4}\label{_b_m_k_geometry_8h_adc307cf3a5707b82e78265ba6be1ffc4} 
\index{BMKGeometry.h@{BMKGeometry.h}!BMKMapSizeEqualToSize@{BMKMapSizeEqualToSize}}
\index{BMKMapSizeEqualToSize@{BMKMapSizeEqualToSize}!BMKGeometry.h@{BMKGeometry.h}}
\doxysubsubsection{\texorpdfstring{BMKMapSizeEqualToSize()}{BMKMapSizeEqualToSize()}}
{\footnotesize\ttfamily UIKIT\+\_\+\+STATIC\+\_\+\+INLINE BOOL BMKMap\+Size\+Equal\+To\+Size (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_b_m_k_map_size}{BMKMap\+Size}}}]{size1,  }\item[{\mbox{\hyperlink{struct_b_m_k_map_size}{BMKMap\+Size}}}]{size2 }\end{DoxyParamCaption})}

判断两个矩形范围是否相等 
\begin{DoxyParams}{参数}
{\em size1} & 范围1 \\
\hline
{\em size2} & 范围2 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
如果相等，返回\+YES，否则返回\+NO 
\end{DoxyReturn}
\Hypertarget{_b_m_k_geometry_8h_a331a60cb949a5aab1ed9678457e938db}\label{_b_m_k_geometry_8h_a331a60cb949a5aab1ed9678457e938db} 
\index{BMKGeometry.h@{BMKGeometry.h}!BMKMetersBetweenCoordinates@{BMKMetersBetweenCoordinates}}
\index{BMKMetersBetweenCoordinates@{BMKMetersBetweenCoordinates}!BMKGeometry.h@{BMKGeometry.h}}
\doxysubsubsection{\texorpdfstring{BMKMetersBetweenCoordinates()}{BMKMetersBetweenCoordinates()}}
{\footnotesize\ttfamily UIKIT\+\_\+\+EXTERN CLLocation\+Distance BMKMeters\+Between\+Coordinates (\begin{DoxyParamCaption}\item[{CLLocation\+Coordinate2D}]{a,  }\item[{CLLocation\+Coordinate2D}]{b }\end{DoxyParamCaption})}

计算指定两点之间的距离（经纬度） 
\begin{DoxyParams}{参数}
{\em a} & 第一个经纬度 \\
\hline
{\em b} & 第二个经纬度 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
两点之间的距离，单位：米 
\end{DoxyReturn}
\Hypertarget{_b_m_k_geometry_8h_a6051f3027c1960e53101fa95357ce068}\label{_b_m_k_geometry_8h_a6051f3027c1960e53101fa95357ce068} 
\index{BMKGeometry.h@{BMKGeometry.h}!BMKMetersBetweenMapPoints@{BMKMetersBetweenMapPoints}}
\index{BMKMetersBetweenMapPoints@{BMKMetersBetweenMapPoints}!BMKGeometry.h@{BMKGeometry.h}}
\doxysubsubsection{\texorpdfstring{BMKMetersBetweenMapPoints()}{BMKMetersBetweenMapPoints()}}
{\footnotesize\ttfamily UIKIT\+\_\+\+EXTERN CLLocation\+Distance BMKMeters\+Between\+Map\+Points (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_b_m_k_map_point}{BMKMap\+Point}}}]{a,  }\item[{\mbox{\hyperlink{struct_b_m_k_map_point}{BMKMap\+Point}}}]{b }\end{DoxyParamCaption})}

计算指定两点之间的距离（平面直角坐标） 
\begin{DoxyParams}{参数}
{\em a} & 第一个坐标点 \\
\hline
{\em b} & 第二个坐标点 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
两点之间的距离，单位：米 
\end{DoxyReturn}
\Hypertarget{_b_m_k_geometry_8h_acd9d69e5e899ef5acad884002c83eda5}\label{_b_m_k_geometry_8h_acd9d69e5e899ef5acad884002c83eda5} 
\index{BMKGeometry.h@{BMKGeometry.h}!BMKMetersPerMapPointAtLatitude@{BMKMetersPerMapPointAtLatitude}}
\index{BMKMetersPerMapPointAtLatitude@{BMKMetersPerMapPointAtLatitude}!BMKGeometry.h@{BMKGeometry.h}}
\doxysubsubsection{\texorpdfstring{BMKMetersPerMapPointAtLatitude()}{BMKMetersPerMapPointAtLatitude()}}
{\footnotesize\ttfamily UIKIT\+\_\+\+EXTERN CLLocation\+Distance BMKMeters\+Per\+Map\+Point\+At\+Latitude (\begin{DoxyParamCaption}\item[{CLLocation\+Degrees}]{latitude }\end{DoxyParamCaption})}

计算在指定纬度下一个\+BMKMap\+Point单位对应的米数 
\begin{DoxyParams}{参数}
{\em latitude} & 指定的纬度 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
在指定纬度下一个\+BMKMap\+Point单位对应的米数 
\end{DoxyReturn}
\Hypertarget{_b_m_k_geometry_8h_a563160557104fef92a47f118ac05c6ec}\label{_b_m_k_geometry_8h_a563160557104fef92a47f118ac05c6ec} 
\index{BMKGeometry.h@{BMKGeometry.h}!BMKPolygonContainsCoordinate@{BMKPolygonContainsCoordinate}}
\index{BMKPolygonContainsCoordinate@{BMKPolygonContainsCoordinate}!BMKGeometry.h@{BMKGeometry.h}}
\doxysubsubsection{\texorpdfstring{BMKPolygonContainsCoordinate()}{BMKPolygonContainsCoordinate()}}
{\footnotesize\ttfamily UIKIT\+\_\+\+EXTERN BOOL BMKPolygon\+Contains\+Coordinate (\begin{DoxyParamCaption}\item[{CLLocation\+Coordinate2D}]{point,  }\item[{CLLocation\+Coordinate2D \texorpdfstring{$\ast$}{*}}]{polygon,  }\item[{NSUInteger}]{count }\end{DoxyParamCaption})}

判断点是否在多边形内 
\begin{DoxyParams}{参数}
{\em point} & 待判断的经纬度点 \\
\hline
{\em polygon} & 目标多边形的顶点数组 \\
\hline
{\em count} & 目标多边形顶点数组元素个数 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
如果在内，返回\+YES，否则返回\+NO 
\end{DoxyReturn}
\Hypertarget{_b_m_k_geometry_8h_aa219741f9bcead52b85ab04da3727845}\label{_b_m_k_geometry_8h_aa219741f9bcead52b85ab04da3727845} 
\index{BMKGeometry.h@{BMKGeometry.h}!BMKPolygonContainsPoint@{BMKPolygonContainsPoint}}
\index{BMKPolygonContainsPoint@{BMKPolygonContainsPoint}!BMKGeometry.h@{BMKGeometry.h}}
\doxysubsubsection{\texorpdfstring{BMKPolygonContainsPoint()}{BMKPolygonContainsPoint()}}
{\footnotesize\ttfamily UIKIT\+\_\+\+EXTERN BOOL BMKPolygon\+Contains\+Point (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_b_m_k_map_point}{BMKMap\+Point}}}]{point,  }\item[{\mbox{\hyperlink{struct_b_m_k_map_point}{BMKMap\+Point}} \texorpdfstring{$\ast$}{*}}]{polygon,  }\item[{NSUInteger}]{count }\end{DoxyParamCaption})}

判断点是否在多边形内 
\begin{DoxyParams}{参数}
{\em point} & 待判断的平面坐标点 \\
\hline
{\em polygon} & 目标多边形的顶点数组 \\
\hline
{\em count} & 目标多边形顶点数组元素个数 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
如果在内，返回\+YES，否则返回\+NO 
\end{DoxyReturn}
\Hypertarget{_b_m_k_geometry_8h_a0b2bb97d16634901cbde4b13584a5063}\label{_b_m_k_geometry_8h_a0b2bb97d16634901cbde4b13584a5063} 
\index{BMKGeometry.h@{BMKGeometry.h}!BMKStringFromMapPoint@{BMKStringFromMapPoint}}
\index{BMKStringFromMapPoint@{BMKStringFromMapPoint}!BMKGeometry.h@{BMKGeometry.h}}
\doxysubsubsection{\texorpdfstring{BMKStringFromMapPoint()}{BMKStringFromMapPoint()}}
{\footnotesize\ttfamily UIKIT\+\_\+\+STATIC\+\_\+\+INLINE NSString \texorpdfstring{$\ast$}{*} BMKString\+From\+Map\+Point (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_b_m_k_map_point}{BMKMap\+Point}}}]{point }\end{DoxyParamCaption})}

将\+BMKMap\+Point格式化为字符串 
\begin{DoxyParams}{参数}
{\em point} & 指定的标点 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
返回转换后的字符串 
\end{DoxyReturn}
\Hypertarget{_b_m_k_geometry_8h_a5946f9224139b71e3007f863fd45d536}\label{_b_m_k_geometry_8h_a5946f9224139b71e3007f863fd45d536} 
\index{BMKGeometry.h@{BMKGeometry.h}!BMKStringFromMapRect@{BMKStringFromMapRect}}
\index{BMKStringFromMapRect@{BMKStringFromMapRect}!BMKGeometry.h@{BMKGeometry.h}}
\doxysubsubsection{\texorpdfstring{BMKStringFromMapRect()}{BMKStringFromMapRect()}}
{\footnotesize\ttfamily UIKIT\+\_\+\+STATIC\+\_\+\+INLINE NSString \texorpdfstring{$\ast$}{*} BMKString\+From\+Map\+Rect (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMap\+Rect}}}]{rect }\end{DoxyParamCaption})}

将\+BMKMap\+Rect格式化为字符串 
\begin{DoxyParams}{参数}
{\em rect} & 指定的rect \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
返回转换后的字符串 
\end{DoxyReturn}
\Hypertarget{_b_m_k_geometry_8h_a95d15a9dadfd3a3e5ee68c6e049fbe10}\label{_b_m_k_geometry_8h_a95d15a9dadfd3a3e5ee68c6e049fbe10} 
\index{BMKGeometry.h@{BMKGeometry.h}!BMKStringFromMapSize@{BMKStringFromMapSize}}
\index{BMKStringFromMapSize@{BMKStringFromMapSize}!BMKGeometry.h@{BMKGeometry.h}}
\doxysubsubsection{\texorpdfstring{BMKStringFromMapSize()}{BMKStringFromMapSize()}}
{\footnotesize\ttfamily UIKIT\+\_\+\+STATIC\+\_\+\+INLINE NSString \texorpdfstring{$\ast$}{*} BMKString\+From\+Map\+Size (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_b_m_k_map_size}{BMKMap\+Size}}}]{size }\end{DoxyParamCaption})}

将\+BMKMap\+Size格式化为字符串 
\begin{DoxyParams}{参数}
{\em size} & 指定的size \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
返回转换后的字符串 
\end{DoxyReturn}
