\hypertarget{_b_m_k_geometry_8h}{}\doxysection{Baidu\+Map\+A\+P\+I\+\_\+\+Utils.\+framework/\+Headers/\+B\+M\+K\+Geometry.h 文件参考}
\label{_b_m_k_geometry_8h}\index{BaiduMapAPI\_Utils.framework/Headers/BMKGeometry.h@{BaiduMapAPI\_Utils.framework/Headers/BMKGeometry.h}}
{\ttfamily \#import $<$Baidu\+Map\+A\+P\+I\+\_\+\+Base/\+B\+M\+K\+Types.\+h$>$}\newline
{\ttfamily \#import $<$U\+I\+Kit/\+U\+I\+Kit.\+h$>$}\newline
\doxysubsection*{类}
\begin{DoxyCompactItemize}
\item 
category \mbox{\hyperlink{category_n_s_value_07_b_m_k_geometry_extension_08}{N\+S\+Value(\+B\+M\+K\+Geometry\+Extension)}}
\begin{DoxyCompactList}\small\item\em 地图中c结构体对象和\+N\+S\+Value对象间相互转化 \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{函数}
\begin{DoxyCompactItemize}
\item 
U\+I\+K\+I\+T\+\_\+\+E\+X\+T\+E\+RN \mbox{\hyperlink{struct_b_m_k_map_point}{B\+M\+K\+Map\+Point}} \mbox{\hyperlink{_b_m_k_geometry_8h_a8cdb8447bff118ee28d8de511faf32a7}{B\+M\+K\+Map\+Point\+For\+Coordinate}} (C\+L\+Location\+Coordinate2D coordinate)
\item 
U\+I\+K\+I\+T\+\_\+\+E\+X\+T\+E\+RN C\+L\+Location\+Coordinate2D \mbox{\hyperlink{_b_m_k_geometry_8h_a82e1819974df12b83c0f899b27f1e1cd}{B\+M\+K\+Coordinate\+For\+Map\+Point}} (\mbox{\hyperlink{struct_b_m_k_map_point}{B\+M\+K\+Map\+Point}} map\+Point)
\item 
U\+I\+K\+I\+T\+\_\+\+E\+X\+T\+E\+RN C\+G\+Point \mbox{\hyperlink{_b_m_k_geometry_8h_a122ddbb0a69377d11a0f165ff84e2157}{B\+M\+K\+Convert\+To\+Baidu\+Mercator\+From\+B\+D09\+LL}} (C\+L\+Location\+Coordinate2D bd09ll\+Coordinate)
\item 
U\+I\+K\+I\+T\+\_\+\+E\+X\+T\+E\+RN C\+L\+Location\+Coordinate2D \mbox{\hyperlink{_b_m_k_geometry_8h_ad496be626f8fbf4ad91b4c2bd3000e22}{B\+M\+K\+Convert\+To\+B\+D09\+L\+L\+From\+Baidu\+Mercator}} (C\+G\+Point bd\+M\+C\+T\+Coordinate)
\item 
U\+I\+K\+I\+T\+\_\+\+E\+X\+T\+E\+RN C\+L\+Location\+Coordinate2D \mbox{\hyperlink{_b_m_k_geometry_8h_aa77eaf6640f467507f1c6c0ba9d6b47a}{B\+M\+K\+Coord\+Trans}} (C\+L\+Location\+Coordinate2D coordinate, B\+M\+K\+\_\+\+C\+O\+O\+R\+D\+\_\+\+T\+Y\+PE from\+Type, B\+M\+K\+\_\+\+C\+O\+O\+R\+D\+\_\+\+T\+Y\+PE to\+Type)
\item 
F\+O\+U\+N\+D\+A\+T\+I\+O\+N\+\_\+\+E\+X\+T\+E\+RN N\+S\+Dictionary $\ast$ \mbox{\hyperlink{_b_m_k_geometry_8h_a049db0d16a735f6d2a1457619651edc6}{B\+M\+K\+Convert\+Baidu\+Coor\+From}} (C\+L\+Location\+Coordinate2D coordinate, B\+M\+K\+\_\+\+C\+O\+O\+R\+D\+\_\+\+T\+Y\+PE type) \+\_\+\+\_\+attribute\+\_\+\+\_\+((deprecated(\char`\"{}使用\+B\+M\+K\+Coord\+Trans方法代替\char`\"{})))
\item 
U\+I\+K\+I\+T\+\_\+\+E\+X\+T\+E\+RN C\+L\+Location\+Distance \mbox{\hyperlink{_b_m_k_geometry_8h_acd9d69e5e899ef5acad884002c83eda5}{B\+M\+K\+Meters\+Per\+Map\+Point\+At\+Latitude}} (C\+L\+Location\+Degrees latitude)
\item 
U\+I\+K\+I\+T\+\_\+\+E\+X\+T\+E\+RN double \mbox{\hyperlink{_b_m_k_geometry_8h_a3766563510b0551c4304fa06562e54a2}{B\+M\+K\+Map\+Points\+Per\+Meter\+At\+Latitude}} (C\+L\+Location\+Degrees latitude)
\item 
U\+I\+K\+I\+T\+\_\+\+E\+X\+T\+E\+RN C\+L\+Location\+Distance \mbox{\hyperlink{_b_m_k_geometry_8h_a6051f3027c1960e53101fa95357ce068}{B\+M\+K\+Meters\+Between\+Map\+Points}} (\mbox{\hyperlink{struct_b_m_k_map_point}{B\+M\+K\+Map\+Point}} a, \mbox{\hyperlink{struct_b_m_k_map_point}{B\+M\+K\+Map\+Point}} b)
\item 
U\+I\+K\+I\+T\+\_\+\+E\+X\+T\+E\+RN C\+L\+Location\+Distance \mbox{\hyperlink{_b_m_k_geometry_8h_a331a60cb949a5aab1ed9678457e938db}{B\+M\+K\+Meters\+Between\+Coordinates}} (C\+L\+Location\+Coordinate2D a, C\+L\+Location\+Coordinate2D b)
\item 
U\+I\+K\+I\+T\+\_\+\+S\+T\+A\+T\+I\+C\+\_\+\+I\+N\+L\+I\+NE double \mbox{\hyperlink{_b_m_k_geometry_8h_a2c1a5ec9570711e8524827fa9a395d0d}{B\+M\+K\+Map\+Rect\+Get\+Width}} (\mbox{\hyperlink{struct_b_m_k_map_rect}{B\+M\+K\+Map\+Rect}} rect)
\item 
U\+I\+K\+I\+T\+\_\+\+S\+T\+A\+T\+I\+C\+\_\+\+I\+N\+L\+I\+NE double \mbox{\hyperlink{_b_m_k_geometry_8h_ab5ea9c49c319a9ae494a7da167be6189}{B\+M\+K\+Map\+Rect\+Get\+Height}} (\mbox{\hyperlink{struct_b_m_k_map_rect}{B\+M\+K\+Map\+Rect}} rect)
\item 
U\+I\+K\+I\+T\+\_\+\+S\+T\+A\+T\+I\+C\+\_\+\+I\+N\+L\+I\+NE B\+O\+OL \mbox{\hyperlink{_b_m_k_geometry_8h_ade1aa48d7c452c6aae008fe2890fe05b}{B\+M\+K\+Map\+Point\+Equal\+To\+Point}} (\mbox{\hyperlink{struct_b_m_k_map_point}{B\+M\+K\+Map\+Point}} point1, \mbox{\hyperlink{struct_b_m_k_map_point}{B\+M\+K\+Map\+Point}} point2)
\item 
U\+I\+K\+I\+T\+\_\+\+E\+X\+T\+E\+RN \mbox{\hyperlink{struct_b_m_k_map_point}{B\+M\+K\+Map\+Point}} \mbox{\hyperlink{_b_m_k_geometry_8h_ae16b0357dd9b8009aaaff2721da08010}{B\+M\+K\+Get\+Nearest\+Map\+Point\+From\+Polyline}} (\mbox{\hyperlink{struct_b_m_k_map_point}{B\+M\+K\+Map\+Point}} point, \mbox{\hyperlink{struct_b_m_k_map_point}{B\+M\+K\+Map\+Point}} $\ast$polyline, N\+S\+U\+Integer count)
\item 
U\+I\+K\+I\+T\+\_\+\+E\+X\+T\+E\+RN \mbox{\hyperlink{struct_b_m_k_map_point}{B\+M\+K\+Map\+Point}} \mbox{\hyperlink{_b_m_k_geometry_8h_abcb837b5559e421a0ee3a34c5f3a448f}{B\+M\+K\+Get\+Point\+To\+The\+Vertical\+Foot\+Of\+Line}} (\mbox{\hyperlink{struct_b_m_k_map_point}{B\+M\+K\+Map\+Point}} point, \mbox{\hyperlink{struct_b_m_k_map_point}{B\+M\+K\+Map\+Point}} line\+Start\+Pt, \mbox{\hyperlink{struct_b_m_k_map_point}{B\+M\+K\+Map\+Point}} line\+End\+Pt)
\item 
U\+I\+K\+I\+T\+\_\+\+E\+X\+T\+E\+RN C\+L\+Location\+Distance \mbox{\hyperlink{_b_m_k_geometry_8h_ac7c70c6f2f19459b99391454b45c909d}{B\+M\+K\+Get\+Distance\+From\+Point\+To\+Line}} (\mbox{\hyperlink{struct_b_m_k_map_point}{B\+M\+K\+Map\+Point}} point, \mbox{\hyperlink{struct_b_m_k_map_point}{B\+M\+K\+Map\+Point}} line\+Start\+Pt, \mbox{\hyperlink{struct_b_m_k_map_point}{B\+M\+K\+Map\+Point}} line\+End\+Pt)
\item 
U\+I\+K\+I\+T\+\_\+\+E\+X\+T\+E\+RN \mbox{\hyperlink{struct_b_m_k_coordinate_region}{B\+M\+K\+Coordinate\+Region}} \mbox{\hyperlink{_b_m_k_geometry_8h_a30878e885fa02a2605bb194645736a36}{B\+M\+K\+Coordinate\+Region\+Make\+With\+Distance}} (C\+L\+Location\+Coordinate2D center\+Coordinate, C\+L\+Location\+Distance latitudinal\+Meters, C\+L\+Location\+Distance longitudinal\+Meters)
\item 
U\+I\+K\+I\+T\+\_\+\+S\+T\+A\+T\+I\+C\+\_\+\+I\+N\+L\+I\+NE B\+O\+OL \mbox{\hyperlink{_b_m_k_geometry_8h_adc307cf3a5707b82e78265ba6be1ffc4}{B\+M\+K\+Map\+Size\+Equal\+To\+Size}} (\mbox{\hyperlink{struct_b_m_k_map_size}{B\+M\+K\+Map\+Size}} size1, \mbox{\hyperlink{struct_b_m_k_map_size}{B\+M\+K\+Map\+Size}} size2)
\item 
U\+I\+K\+I\+T\+\_\+\+S\+T\+A\+T\+I\+C\+\_\+\+I\+N\+L\+I\+NE B\+O\+OL \mbox{\hyperlink{_b_m_k_geometry_8h_aa64e3dd2b0333ddadda311abb367fc39}{B\+M\+K\+Map\+Rect\+Equal\+To\+Rect}} (\mbox{\hyperlink{struct_b_m_k_map_rect}{B\+M\+K\+Map\+Rect}} rect1, \mbox{\hyperlink{struct_b_m_k_map_rect}{B\+M\+K\+Map\+Rect}} rect2)
\item 
U\+I\+K\+I\+T\+\_\+\+S\+T\+A\+T\+I\+C\+\_\+\+I\+N\+L\+I\+NE B\+O\+OL \mbox{\hyperlink{_b_m_k_geometry_8h_a6a49884fe83e2aeb08b6827bf9361ef9}{B\+M\+K\+Map\+Rect\+Is\+Empty}} (\mbox{\hyperlink{struct_b_m_k_map_rect}{B\+M\+K\+Map\+Rect}} rect)
\item 
U\+I\+K\+I\+T\+\_\+\+E\+X\+T\+E\+RN \mbox{\hyperlink{struct_b_m_k_map_rect}{B\+M\+K\+Map\+Rect}} \mbox{\hyperlink{_b_m_k_geometry_8h_aca2a7535ee5bfbd1204f48d2536f11ba}{B\+M\+K\+Map\+Rect\+Union}} (\mbox{\hyperlink{struct_b_m_k_map_rect}{B\+M\+K\+Map\+Rect}} rect1, \mbox{\hyperlink{struct_b_m_k_map_rect}{B\+M\+K\+Map\+Rect}} rect2)
\item 
U\+I\+K\+I\+T\+\_\+\+E\+X\+T\+E\+RN \mbox{\hyperlink{struct_b_m_k_map_rect}{B\+M\+K\+Map\+Rect}} \mbox{\hyperlink{_b_m_k_geometry_8h_af46516f57d0abfd6d8aa902bc50060a6}{B\+M\+K\+Map\+Rect\+Intersection}} (\mbox{\hyperlink{struct_b_m_k_map_rect}{B\+M\+K\+Map\+Rect}} rect1, \mbox{\hyperlink{struct_b_m_k_map_rect}{B\+M\+K\+Map\+Rect}} rect2)
\item 
U\+I\+K\+I\+T\+\_\+\+E\+X\+T\+E\+RN \mbox{\hyperlink{struct_b_m_k_map_rect}{B\+M\+K\+Map\+Rect}} \mbox{\hyperlink{_b_m_k_geometry_8h_a717e60a9798195b716d083f3e8da1d54}{B\+M\+K\+Map\+Rect\+Inset}} (\mbox{\hyperlink{struct_b_m_k_map_rect}{B\+M\+K\+Map\+Rect}} rect, double dx, double dy)
\item 
U\+I\+K\+I\+T\+\_\+\+E\+X\+T\+E\+RN \mbox{\hyperlink{struct_b_m_k_map_rect}{B\+M\+K\+Map\+Rect}} \mbox{\hyperlink{_b_m_k_geometry_8h_a895de18577c2de7a4d0843d61be5d948}{B\+M\+K\+Map\+Rect\+Offset}} (\mbox{\hyperlink{struct_b_m_k_map_rect}{B\+M\+K\+Map\+Rect}} rect, double dx, double dy)
\item 
U\+I\+K\+I\+T\+\_\+\+E\+X\+T\+E\+RN void \mbox{\hyperlink{_b_m_k_geometry_8h_a32fb4cbbc882aefdffb1981b2a445621}{B\+M\+K\+Map\+Rect\+Divide}} (\mbox{\hyperlink{struct_b_m_k_map_rect}{B\+M\+K\+Map\+Rect}} rect, \mbox{\hyperlink{struct_b_m_k_map_rect}{B\+M\+K\+Map\+Rect}} $\ast$slice, \mbox{\hyperlink{struct_b_m_k_map_rect}{B\+M\+K\+Map\+Rect}} $\ast$remainder, double amount, C\+G\+Rect\+Edge edge)
\item 
U\+I\+K\+I\+T\+\_\+\+E\+X\+T\+E\+RN B\+O\+OL \mbox{\hyperlink{_b_m_k_geometry_8h_a756802dc5d51b9e783f9d83711b2972f}{B\+M\+K\+Map\+Rect\+Contains\+Point}} (\mbox{\hyperlink{struct_b_m_k_map_rect}{B\+M\+K\+Map\+Rect}} rect, \mbox{\hyperlink{struct_b_m_k_map_point}{B\+M\+K\+Map\+Point}} point)
\item 
U\+I\+K\+I\+T\+\_\+\+E\+X\+T\+E\+RN B\+O\+OL \mbox{\hyperlink{_b_m_k_geometry_8h_a3bf9df0b02a9c78e5daa7862c3c197e5}{B\+M\+K\+Map\+Rect\+Contains\+Rect}} (\mbox{\hyperlink{struct_b_m_k_map_rect}{B\+M\+K\+Map\+Rect}} rect1, \mbox{\hyperlink{struct_b_m_k_map_rect}{B\+M\+K\+Map\+Rect}} rect2)
\item 
U\+I\+K\+I\+T\+\_\+\+E\+X\+T\+E\+RN B\+O\+OL \mbox{\hyperlink{_b_m_k_geometry_8h_ad8fc8d14cda123242c551db6c820e0a1}{B\+M\+K\+Map\+Rect\+Intersects\+Rect}} (\mbox{\hyperlink{struct_b_m_k_map_rect}{B\+M\+K\+Map\+Rect}} rect1, \mbox{\hyperlink{struct_b_m_k_map_rect}{B\+M\+K\+Map\+Rect}} rect2)
\item 
U\+I\+K\+I\+T\+\_\+\+E\+X\+T\+E\+RN \mbox{\hyperlink{struct_b_m_k_coordinate_region}{B\+M\+K\+Coordinate\+Region}} \mbox{\hyperlink{_b_m_k_geometry_8h_a779ad65709d575145d839d1d7e972064}{B\+M\+K\+Coordinate\+Region\+For\+Map\+Rect}} (\mbox{\hyperlink{struct_b_m_k_map_rect}{B\+M\+K\+Map\+Rect}} rect)
\item 
U\+I\+K\+I\+T\+\_\+\+E\+X\+T\+E\+RN B\+O\+OL \mbox{\hyperlink{_b_m_k_geometry_8h_a2fa044766e6c2c56e831a552c1b25d7b}{B\+M\+K\+Map\+Rect\+Spans180th\+Meridian}} (\mbox{\hyperlink{struct_b_m_k_map_rect}{B\+M\+K\+Map\+Rect}} rect)
\item 
U\+I\+K\+I\+T\+\_\+\+E\+X\+T\+E\+RN \mbox{\hyperlink{struct_b_m_k_map_rect}{B\+M\+K\+Map\+Rect}} \mbox{\hyperlink{_b_m_k_geometry_8h_acdf6820a550a4c953020fc136a17e4b1}{B\+M\+K\+Map\+Rect\+Remainder}} (\mbox{\hyperlink{struct_b_m_k_map_rect}{B\+M\+K\+Map\+Rect}} rect)
\item 
U\+I\+K\+I\+T\+\_\+\+E\+X\+T\+E\+RN B\+O\+OL \mbox{\hyperlink{_b_m_k_geometry_8h_a545c528fdcc5a2090aeb287f0ea6bde3}{B\+M\+K\+Circle\+Contains\+Point}} (\mbox{\hyperlink{struct_b_m_k_map_point}{B\+M\+K\+Map\+Point}} point, \mbox{\hyperlink{struct_b_m_k_map_point}{B\+M\+K\+Map\+Point}} center, double radius)
\item 
U\+I\+K\+I\+T\+\_\+\+E\+X\+T\+E\+RN B\+O\+OL \mbox{\hyperlink{_b_m_k_geometry_8h_aead8a56da76ac340393379c4cc3d3bc2}{B\+M\+K\+Circle\+Contains\+Coordinate}} (C\+L\+Location\+Coordinate2D point, C\+L\+Location\+Coordinate2D center, double radius)
\item 
U\+I\+K\+I\+T\+\_\+\+E\+X\+T\+E\+RN B\+O\+OL \mbox{\hyperlink{_b_m_k_geometry_8h_aa219741f9bcead52b85ab04da3727845}{B\+M\+K\+Polygon\+Contains\+Point}} (\mbox{\hyperlink{struct_b_m_k_map_point}{B\+M\+K\+Map\+Point}} point, \mbox{\hyperlink{struct_b_m_k_map_point}{B\+M\+K\+Map\+Point}} $\ast$polygon, N\+S\+U\+Integer count)
\item 
U\+I\+K\+I\+T\+\_\+\+E\+X\+T\+E\+RN B\+O\+OL \mbox{\hyperlink{_b_m_k_geometry_8h_a563160557104fef92a47f118ac05c6ec}{B\+M\+K\+Polygon\+Contains\+Coordinate}} (C\+L\+Location\+Coordinate2D point, C\+L\+Location\+Coordinate2D $\ast$polygon, N\+S\+U\+Integer count)
\item 
U\+I\+K\+I\+T\+\_\+\+E\+X\+T\+E\+RN double \mbox{\hyperlink{_b_m_k_geometry_8h_a01d5bd4975df0f0a7035f7d384794571}{B\+M\+K\+Area\+Between\+Coordinates}} (C\+L\+Location\+Coordinate2D left\+Top, C\+L\+Location\+Coordinate2D right\+Bottom)
\item 
U\+I\+K\+I\+T\+\_\+\+E\+X\+T\+E\+RN double \mbox{\hyperlink{_b_m_k_geometry_8h_a4749a42c8375ef450041f7c145a7ed94}{B\+M\+K\+Area\+For\+Polygon}} (C\+L\+Location\+Coordinate2D $\ast$coordinates, int count)
\item 
U\+I\+K\+I\+T\+\_\+\+E\+X\+T\+E\+RN C\+L\+Location\+Direction \mbox{\hyperlink{_b_m_k_geometry_8h_a838e0ee685317da9a3f92645b58d6236}{B\+M\+K\+Get\+Direction\+From\+Coords}} (C\+L\+Location\+Coordinate2D start\+Coord, C\+L\+Location\+Coordinate2D end\+Coord)
\item 
U\+I\+K\+I\+T\+\_\+\+E\+X\+T\+E\+RN C\+L\+Location\+Direction \mbox{\hyperlink{_b_m_k_geometry_8h_a690ac10a9653824fe796e3dd95015ac6}{B\+M\+K\+Get\+Direction\+From\+Points}} (\mbox{\hyperlink{struct_b_m_k_map_point}{B\+M\+K\+Map\+Point}} start\+Pt, \mbox{\hyperlink{struct_b_m_k_map_point}{B\+M\+K\+Map\+Point}} end\+Pt)
\item 
U\+I\+K\+I\+T\+\_\+\+S\+T\+A\+T\+I\+C\+\_\+\+I\+N\+L\+I\+NE N\+S\+String $\ast$ \mbox{\hyperlink{_b_m_k_geometry_8h_a6f2b502558d61983e911e77b02f86166}{B\+M\+K\+String\+From\+Map\+Point}} (\mbox{\hyperlink{struct_b_m_k_map_point}{B\+M\+K\+Map\+Point}} point)
\item 
U\+I\+K\+I\+T\+\_\+\+S\+T\+A\+T\+I\+C\+\_\+\+I\+N\+L\+I\+NE N\+S\+String $\ast$ \mbox{\hyperlink{_b_m_k_geometry_8h_a687e957bfdaee6c3e7ef97c3831127d2}{B\+M\+K\+String\+From\+Map\+Size}} (\mbox{\hyperlink{struct_b_m_k_map_size}{B\+M\+K\+Map\+Size}} size)
\item 
U\+I\+K\+I\+T\+\_\+\+S\+T\+A\+T\+I\+C\+\_\+\+I\+N\+L\+I\+NE N\+S\+String $\ast$ \mbox{\hyperlink{_b_m_k_geometry_8h_a07c0dc35e145b24828d11e20e8d1456e}{B\+M\+K\+String\+From\+Map\+Rect}} (\mbox{\hyperlink{struct_b_m_k_map_rect}{B\+M\+K\+Map\+Rect}} rect)
\item 
U\+I\+K\+I\+T\+\_\+\+E\+X\+T\+E\+RN C\+L\+Location\+Coordinate2D \mbox{\hyperlink{_b_m_k_geometry_8h_ac75142905f8c4cd5e3bf63e2b01f5b06}{B\+M\+K\+Coor\+Dictionary\+Decode}} (N\+S\+Dictionary $\ast$dictionary)
\item 
U\+I\+K\+I\+T\+\_\+\+E\+X\+T\+E\+RN \mbox{\hyperlink{struct_b_m_k_map_rect}{B\+M\+K\+Map\+Rect}} \mbox{\hyperlink{_b_m_k_geometry_8h_abf336e6dffedb11e4defd74aa14babe5}{B\+M\+K\+Map\+Rect\+From\+Encoded\+Geo\+Points}} (N\+S\+String $\ast$encoded\+Geo\+Points, B\+M\+K\+Encode\+Point\+Type type)
\item 
U\+I\+K\+I\+T\+\_\+\+E\+X\+T\+E\+RN B\+O\+OL \mbox{\hyperlink{_b_m_k_geometry_8h_a66e54a2d4e52a6a4f2d3f6651c52084f}{B\+M\+K\+Encoded\+Geo\+Points\+Contains\+Point}} (\mbox{\hyperlink{struct_b_m_k_map_point}{B\+M\+K\+Map\+Point}} point, N\+S\+String $\ast$encoded\+Geo\+Points, B\+M\+K\+Encode\+Point\+Type type)
\item 
U\+I\+K\+I\+T\+\_\+\+E\+X\+T\+E\+RN B\+O\+OL \mbox{\hyperlink{_b_m_k_geometry_8h_af2166d9c0e5a437deb092c746e112206}{B\+M\+K\+Encoded\+Geo\+Points\+Contains\+Coordinate}} (C\+L\+Location\+Coordinate2D point, N\+S\+String $\ast$encoded\+Geo\+Points, B\+M\+K\+Encode\+Point\+Type type)
\end{DoxyCompactItemize}


\doxysubsection{函数说明}
\mbox{\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 U\+I\+K\+I\+T\+\_\+\+E\+X\+T\+E\+RN double B\+M\+K\+Area\+Between\+Coordinates (\begin{DoxyParamCaption}\item[{C\+L\+Location\+Coordinate2D}]{left\+Top,  }\item[{C\+L\+Location\+Coordinate2D}]{right\+Bottom }\end{DoxyParamCaption})}

计算地理矩形区域的面积 
\begin{DoxyParams}{参数}
{\em left\+Top} & 左上角经纬度坐标点 \\
\hline
{\em right\+Bottom} & 右下角经纬度坐标点 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
返回区域面积，单位：平方米 
\end{DoxyReturn}
\mbox{\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 U\+I\+K\+I\+T\+\_\+\+E\+X\+T\+E\+RN double B\+M\+K\+Area\+For\+Polygon (\begin{DoxyParamCaption}\item[{C\+L\+Location\+Coordinate2D $\ast$}]{coordinates,  }\item[{int}]{count }\end{DoxyParamCaption})}

根据经纬度计算多边形面积，点与点之间按顺序尾部相连, 第一个点与最后一个点相连 该计算是将地球视为标准球体(R=6378137.\+0)得到的结果，与实际地理面积有误差。 
\begin{DoxyParams}{参数}
{\em coordinates} & 指定的经纬度坐标点数组，\+C数组，调用者负责内存管理 \\
\hline
{\em count} & 坐标点的个数 count $>$=3 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
多边形的面积 单位平方米 
\end{DoxyReturn}
\mbox{\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 U\+I\+K\+I\+T\+\_\+\+E\+X\+T\+E\+RN B\+O\+OL B\+M\+K\+Circle\+Contains\+Coordinate (\begin{DoxyParamCaption}\item[{C\+L\+Location\+Coordinate2D}]{point,  }\item[{C\+L\+Location\+Coordinate2D}]{center,  }\item[{double}]{radius }\end{DoxyParamCaption})}

判断点是否在圆内 
\begin{DoxyParams}{参数}
{\em point} & 待判断的经纬度坐标点 \\
\hline
{\em center} & 目标圆形的中心点经纬度坐标 \\
\hline
{\em radius} & 目标圆形的半径，单位m \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
如果在内，返回\+Y\+E\+S，否则返回\+NO 
\end{DoxyReturn}
\mbox{\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 U\+I\+K\+I\+T\+\_\+\+E\+X\+T\+E\+RN B\+O\+OL B\+M\+K\+Circle\+Contains\+Point (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_b_m_k_map_point}{B\+M\+K\+Map\+Point}}}]{point,  }\item[{\mbox{\hyperlink{struct_b_m_k_map_point}{B\+M\+K\+Map\+Point}}}]{center,  }\item[{double}]{radius }\end{DoxyParamCaption})}

判断点是否在圆内 
\begin{DoxyParams}{参数}
{\em point} & 待判断的平面坐标点 \\
\hline
{\em center} & 目标圆形的中心点平面坐标 \\
\hline
{\em radius} & 目标圆形的半径，单位m \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
如果在内，返回\+Y\+E\+S，否则返回\+NO 
\end{DoxyReturn}
\mbox{\Hypertarget{_b_m_k_geometry_8h_a049db0d16a735f6d2a1457619651edc6}\label{_b_m_k_geometry_8h_a049db0d16a735f6d2a1457619651edc6}} 
\index{BMKGeometry.h@{BMKGeometry.h}!BMKConvertBaiduCoorFrom@{BMKConvertBaiduCoorFrom}}
\index{BMKConvertBaiduCoorFrom@{BMKConvertBaiduCoorFrom}!BMKGeometry.h@{BMKGeometry.h}}
\doxysubsubsection{\texorpdfstring{BMKConvertBaiduCoorFrom()}{BMKConvertBaiduCoorFrom()}}
{\footnotesize\ttfamily F\+O\+U\+N\+D\+A\+T\+I\+O\+N\+\_\+\+E\+X\+T\+E\+RN N\+S\+Dictionary$\ast$ B\+M\+K\+Convert\+Baidu\+Coor\+From (\begin{DoxyParamCaption}\item[{C\+L\+Location\+Coordinate2D}]{coordinate,  }\item[{B\+M\+K\+\_\+\+C\+O\+O\+R\+D\+\_\+\+T\+Y\+PE}]{type }\end{DoxyParamCaption})}

坐标转换函数，从原始\+G\+P\+S坐标，mapbar坐标,google坐标，51地图坐标，mapabc坐标转换为百度坐标（51地图坐标需要显出10000） 
\begin{DoxyParams}{参数}
{\em coordinate} & 待转换的坐标 \\
\hline
{\em type} & 待转换的坐标系类型，\+G\+P\+S为原始\+G\+P\+S坐标，\+C\+O\+M\+M\+O\+N为google坐标，51地图坐标，mapabc坐标 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
返回的\+N\+S\+Dictionry中包含“x”，“y”字段，各自对应经过base64加密之后的x，y坐标 
\end{DoxyReturn}
\mbox{\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 U\+I\+K\+I\+T\+\_\+\+E\+X\+T\+E\+RN C\+G\+Point B\+M\+K\+Convert\+To\+Baidu\+Mercator\+From\+B\+D09\+LL (\begin{DoxyParamCaption}\item[{C\+L\+Location\+Coordinate2D}]{bd09ll\+Coordinate }\end{DoxyParamCaption})}

由百度经纬度坐标转换得到百度墨卡托坐标 
\begin{DoxyParams}{参数}
{\em bd09ll\+Coordinate} & 百度经纬度坐标bd09ll \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
百度墨卡托坐标 
\end{DoxyReturn}
\mbox{\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 U\+I\+K\+I\+T\+\_\+\+E\+X\+T\+E\+RN C\+L\+Location\+Coordinate2D B\+M\+K\+Convert\+To\+B\+D09\+L\+L\+From\+Baidu\+Mercator (\begin{DoxyParamCaption}\item[{C\+G\+Point}]{bd\+M\+C\+T\+Coordinate }\end{DoxyParamCaption})}

由百度墨卡托坐标转换得到百度经纬度坐标 
\begin{DoxyParams}{参数}
{\em bd\+M\+C\+T\+Coordinate} & 百度墨卡托坐标 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
百度经纬度坐标\+B\+D09\+LL 
\end{DoxyReturn}
\mbox{\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 U\+I\+K\+I\+T\+\_\+\+E\+X\+T\+E\+RN C\+L\+Location\+Coordinate2D B\+M\+K\+Coor\+Dictionary\+Decode (\begin{DoxyParamCaption}\item[{N\+S\+Dictionary $\ast$}]{dictionary }\end{DoxyParamCaption})}

base64加密后的坐标字典解密函数 
\begin{DoxyParams}{参数}
{\em dictionary} & 带解密的\+N\+S\+Dictionry，该\+N\+S\+Dictionry中应包含“x”，“y”字段，各自对应经过base64加密之后的x，y坐标 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
解密之后的坐标 
\end{DoxyReturn}
\mbox{\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 U\+I\+K\+I\+T\+\_\+\+E\+X\+T\+E\+RN C\+L\+Location\+Coordinate2D B\+M\+K\+Coordinate\+For\+Map\+Point (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_b_m_k_map_point}{B\+M\+K\+Map\+Point}}}]{map\+Point }\end{DoxyParamCaption})}

将投影后的直角地理坐标转换为经纬度坐标 
\begin{DoxyParams}{参数}
{\em map\+Point} & 投影后的直角地理坐标 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
转换后的经纬度坐标 
\end{DoxyReturn}
\mbox{\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 U\+I\+K\+I\+T\+\_\+\+E\+X\+T\+E\+RN \mbox{\hyperlink{struct_b_m_k_coordinate_region}{B\+M\+K\+Coordinate\+Region}} B\+M\+K\+Coordinate\+Region\+For\+Map\+Rect (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_b_m_k_map_rect}{B\+M\+K\+Map\+Rect}}}]{rect }\end{DoxyParamCaption})}

将投影后的直角坐标矩形转换为泳经纬度表示的范围 
\begin{DoxyParams}{参数}
{\em rect} & 待转换的直角坐标矩形 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
转换后的经纬度范围 
\end{DoxyReturn}
\mbox{\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 U\+I\+K\+I\+T\+\_\+\+E\+X\+T\+E\+RN \mbox{\hyperlink{struct_b_m_k_coordinate_region}{B\+M\+K\+Coordinate\+Region}} B\+M\+K\+Coordinate\+Region\+Make\+With\+Distance (\begin{DoxyParamCaption}\item[{C\+L\+Location\+Coordinate2D}]{center\+Coordinate,  }\item[{C\+L\+Location\+Distance}]{latitudinal\+Meters,  }\item[{C\+L\+Location\+Distance}]{longitudinal\+Meters }\end{DoxyParamCaption})}

根据中心点和距离生成\+B\+M\+K\+Coordinate\+Region 
\begin{DoxyParams}{参数}
{\em center\+Coordinate} & 中心点坐标 \\
\hline
{\em latitudinal\+Meters} & 纬度方向的距离范围，单位：米 \\
\hline
{\em longitudinal\+Meters} & 经度方向的距离范围，单位：米 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
根据中心点和距离生成\+B\+M\+K\+Coordinate\+Region 
\end{DoxyReturn}
\mbox{\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 U\+I\+K\+I\+T\+\_\+\+E\+X\+T\+E\+RN C\+L\+Location\+Coordinate2D B\+M\+K\+Coord\+Trans (\begin{DoxyParamCaption}\item[{C\+L\+Location\+Coordinate2D}]{coordinate,  }\item[{B\+M\+K\+\_\+\+C\+O\+O\+R\+D\+\_\+\+T\+Y\+PE}]{from\+Type,  }\item[{B\+M\+K\+\_\+\+C\+O\+O\+R\+D\+\_\+\+T\+Y\+PE}]{to\+Type }\end{DoxyParamCaption})}

经纬度坐标之间的坐标转换 支持\+W\+G\+S84\+L\+L-\/$>$B\+D09\+LL, W\+G\+S84\+L\+L-\/$>$G\+C\+J02\+LL, G\+C\+J02\+L\+L-\/$>$B\+D09\+LL, B\+D09\+L\+L-\/$>$G\+C\+J02\+LL 输入输出坐标为其他类型时，认为是非法输入，返回的坐标中经纬度均为0


\begin{DoxyParams}{参数}
{\em coordinate} & 待转换的原始经纬度坐标 \\
\hline
{\em from\+Type} & 原始经纬度坐标的坐标类型 \\
\hline
{\em to\+Type} & 目标的经纬度坐标类型 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
转换后的经纬度坐标 
\end{DoxyReturn}
\mbox{\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 U\+I\+K\+I\+T\+\_\+\+E\+X\+T\+E\+RN B\+O\+OL B\+M\+K\+Encoded\+Geo\+Points\+Contains\+Coordinate (\begin{DoxyParamCaption}\item[{C\+L\+Location\+Coordinate2D}]{point,  }\item[{N\+S\+String $\ast$}]{encoded\+Geo\+Points,  }\item[{B\+M\+K\+Encode\+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}{返回}
如果在内，返回\+Y\+E\+S，否则返回\+NO 
\end{DoxyReturn}
\mbox{\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 U\+I\+K\+I\+T\+\_\+\+E\+X\+T\+E\+RN B\+O\+OL B\+M\+K\+Encoded\+Geo\+Points\+Contains\+Point (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_b_m_k_map_point}{B\+M\+K\+Map\+Point}}}]{point,  }\item[{N\+S\+String $\ast$}]{encoded\+Geo\+Points,  }\item[{B\+M\+K\+Encode\+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}{返回}
如果在内，返回\+Y\+E\+S，否则返回\+NO 
\end{DoxyReturn}
\mbox{\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 U\+I\+K\+I\+T\+\_\+\+E\+X\+T\+E\+RN C\+L\+Location\+Direction B\+M\+K\+Get\+Direction\+From\+Coords (\begin{DoxyParamCaption}\item[{C\+L\+Location\+Coordinate2D}]{start\+Coord,  }\item[{C\+L\+Location\+Coordinate2D}]{end\+Coord }\end{DoxyParamCaption})}

获取矢量坐标方向 
\begin{DoxyParams}{参数}
{\em start\+Coord} & 矢量坐标起点 \\
\hline
{\em end\+Coord} & 矢量坐标终点 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
方向，详情参考系统 C\+L\+Location\+Direction 
\end{DoxyReturn}
\mbox{\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 U\+I\+K\+I\+T\+\_\+\+E\+X\+T\+E\+RN C\+L\+Location\+Direction B\+M\+K\+Get\+Direction\+From\+Points (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_b_m_k_map_point}{B\+M\+K\+Map\+Point}}}]{start\+Pt,  }\item[{\mbox{\hyperlink{struct_b_m_k_map_point}{B\+M\+K\+Map\+Point}}}]{end\+Pt }\end{DoxyParamCaption})}

获取矢量坐标方向 
\begin{DoxyParams}{参数}
{\em start\+Pt} & 矢量坐标起点 \\
\hline
{\em end\+Pt} & 矢量坐标终点 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
方向，详情参考系统 C\+L\+Location\+Direction 
\end{DoxyReturn}
\mbox{\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 U\+I\+K\+I\+T\+\_\+\+E\+X\+T\+E\+RN C\+L\+Location\+Distance B\+M\+K\+Get\+Distance\+From\+Point\+To\+Line (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_b_m_k_map_point}{B\+M\+K\+Map\+Point}}}]{point,  }\item[{\mbox{\hyperlink{struct_b_m_k_map_point}{B\+M\+K\+Map\+Point}}}]{line\+Start\+Pt,  }\item[{\mbox{\hyperlink{struct_b_m_k_map_point}{B\+M\+K\+Map\+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}
\mbox{\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 U\+I\+K\+I\+T\+\_\+\+E\+X\+T\+E\+RN \mbox{\hyperlink{struct_b_m_k_map_point}{B\+M\+K\+Map\+Point}} B\+M\+K\+Get\+Nearest\+Map\+Point\+From\+Polyline (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_b_m_k_map_point}{B\+M\+K\+Map\+Point}}}]{point,  }\item[{\mbox{\hyperlink{struct_b_m_k_map_point}{B\+M\+K\+Map\+Point}} $\ast$}]{polyline,  }\item[{N\+S\+U\+Integer}]{count }\end{DoxyParamCaption})}

获取折线外某点到这线上距离最近的点 
\begin{DoxyParams}{参数}
{\em point} & 待判断的经纬度点 \\
\hline
{\em polyline} & 目标折线的顶点数组 \\
\hline
{\em count} & 目标折线顶点数组元素个数 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
返回折线上的点（距离point最近） 
\end{DoxyReturn}
\mbox{\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 U\+I\+K\+I\+T\+\_\+\+E\+X\+T\+E\+RN \mbox{\hyperlink{struct_b_m_k_map_point}{B\+M\+K\+Map\+Point}} B\+M\+K\+Get\+Point\+To\+The\+Vertical\+Foot\+Of\+Line (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_b_m_k_map_point}{B\+M\+K\+Map\+Point}}}]{point,  }\item[{\mbox{\hyperlink{struct_b_m_k_map_point}{B\+M\+K\+Map\+Point}}}]{line\+Start\+Pt,  }\item[{\mbox{\hyperlink{struct_b_m_k_map_point}{B\+M\+K\+Map\+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}{返回}
B\+M\+K\+Map\+Point垂足点 
\end{DoxyReturn}
\mbox{\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 U\+I\+K\+I\+T\+\_\+\+S\+T\+A\+T\+I\+C\+\_\+\+I\+N\+L\+I\+NE B\+O\+OL B\+M\+K\+Map\+Point\+Equal\+To\+Point (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_b_m_k_map_point}{B\+M\+K\+Map\+Point}}}]{point1,  }\item[{\mbox{\hyperlink{struct_b_m_k_map_point}{B\+M\+K\+Map\+Point}}}]{point2 }\end{DoxyParamCaption})}

判断两个点是否相等 
\begin{DoxyParams}{参数}
{\em point1} & 第一个点 \\
\hline
{\em point2} & 第二个点 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
如果两点相等，返回\+Y\+E\+S，否则返回\+NO 
\end{DoxyReturn}
\mbox{\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 U\+I\+K\+I\+T\+\_\+\+E\+X\+T\+E\+RN \mbox{\hyperlink{struct_b_m_k_map_point}{B\+M\+K\+Map\+Point}} B\+M\+K\+Map\+Point\+For\+Coordinate (\begin{DoxyParamCaption}\item[{C\+L\+Location\+Coordinate2D}]{coordinate }\end{DoxyParamCaption})}

将经纬度坐标转换为投影后的直角地理坐标 
\begin{DoxyParams}{参数}
{\em coordinate} & 待转换的经纬度坐标 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
转换后的直角地理坐标 
\end{DoxyReturn}
\mbox{\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 U\+I\+K\+I\+T\+\_\+\+E\+X\+T\+E\+RN double B\+M\+K\+Map\+Points\+Per\+Meter\+At\+Latitude (\begin{DoxyParamCaption}\item[{C\+L\+Location\+Degrees}]{latitude }\end{DoxyParamCaption})}

计算在指定纬度下一米对应的\+M\+K\+Map\+Point的单位数 
\begin{DoxyParams}{参数}
{\em latitude} & 指定的纬度 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
在指定纬度下一米对应的\+M\+K\+Map\+Point的单位数 
\end{DoxyReturn}
\mbox{\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 U\+I\+K\+I\+T\+\_\+\+E\+X\+T\+E\+RN B\+O\+OL B\+M\+K\+Map\+Rect\+Contains\+Point (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_b_m_k_map_rect}{B\+M\+K\+Map\+Rect}}}]{rect,  }\item[{\mbox{\hyperlink{struct_b_m_k_map_point}{B\+M\+K\+Map\+Point}}}]{point }\end{DoxyParamCaption})}

判断指定点是否在某矩形内 
\begin{DoxyParams}{参数}
{\em rect} & 指定的矩形 \\
\hline
{\em point} & 指定的点 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
如果包含，返回\+Y\+E\+S，否则，返回\+NO 
\end{DoxyReturn}
\mbox{\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 U\+I\+K\+I\+T\+\_\+\+E\+X\+T\+E\+RN B\+O\+OL B\+M\+K\+Map\+Rect\+Contains\+Rect (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_b_m_k_map_rect}{B\+M\+K\+Map\+Rect}}}]{rect1,  }\item[{\mbox{\hyperlink{struct_b_m_k_map_rect}{B\+M\+K\+Map\+Rect}}}]{rect2 }\end{DoxyParamCaption})}

判断矩形rect1是否包含矩形rect2 
\begin{DoxyParams}{参数}
{\em rect1} & 矩形1 \\
\hline
{\em rect2} & 矩形2 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
如果包含，返回\+Y\+E\+S，否则，返回\+NO 
\end{DoxyReturn}
\mbox{\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 U\+I\+K\+I\+T\+\_\+\+E\+X\+T\+E\+RN void B\+M\+K\+Map\+Rect\+Divide (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_b_m_k_map_rect}{B\+M\+K\+Map\+Rect}}}]{rect,  }\item[{\mbox{\hyperlink{struct_b_m_k_map_rect}{B\+M\+K\+Map\+Rect}} $\ast$}]{slice,  }\item[{\mbox{\hyperlink{struct_b_m_k_map_rect}{B\+M\+K\+Map\+Rect}} $\ast$}]{remainder,  }\item[{double}]{amount,  }\item[{C\+G\+Rect\+Edge}]{edge }\end{DoxyParamCaption})}

矩形分割，将一个矩形分割为两个矩形 
\begin{DoxyParams}{参数}
{\em rect} & 待分割的矩形 \\
\hline
{\em slice} & 指针，用来保存分割后被移除的矩形 \\
\hline
{\em remainder} & 指针，用来保存分割后剩下的矩形 \\
\hline
{\em amount} & 指定分割的大小，如果设置为负数，则将自动调整为0 \\
\hline
{\em edge} & 用来指定要从那条边开始分割 \\
\hline
\end{DoxyParams}
\mbox{\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 U\+I\+K\+I\+T\+\_\+\+S\+T\+A\+T\+I\+C\+\_\+\+I\+N\+L\+I\+NE B\+O\+OL B\+M\+K\+Map\+Rect\+Equal\+To\+Rect (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_b_m_k_map_rect}{B\+M\+K\+Map\+Rect}}}]{rect1,  }\item[{\mbox{\hyperlink{struct_b_m_k_map_rect}{B\+M\+K\+Map\+Rect}}}]{rect2 }\end{DoxyParamCaption})}

判断两个矩形是否相等 
\begin{DoxyParams}{参数}
{\em rect1} & 矩形1 \\
\hline
{\em rect2} & 矩形2 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
如果相等，返回\+Y\+E\+S，否则返回\+NO 
\end{DoxyReturn}
\mbox{\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 U\+I\+K\+I\+T\+\_\+\+E\+X\+T\+E\+RN \mbox{\hyperlink{struct_b_m_k_map_rect}{B\+M\+K\+Map\+Rect}} B\+M\+K\+Map\+Rect\+From\+Encoded\+Geo\+Points (\begin{DoxyParamCaption}\item[{N\+S\+String $\ast$}]{encoded\+Geo\+Points,  }\item[{B\+M\+K\+Encode\+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}
\mbox{\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 U\+I\+K\+I\+T\+\_\+\+S\+T\+A\+T\+I\+C\+\_\+\+I\+N\+L\+I\+NE double B\+M\+K\+Map\+Rect\+Get\+Height (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_b_m_k_map_rect}{B\+M\+K\+Map\+Rect}}}]{rect }\end{DoxyParamCaption})}

获取指定矩形的高度 
\begin{DoxyParams}{参数}
{\em rect} & 指定的矩形 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
指定矩形的高度 
\end{DoxyReturn}
\mbox{\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 U\+I\+K\+I\+T\+\_\+\+S\+T\+A\+T\+I\+C\+\_\+\+I\+N\+L\+I\+NE double B\+M\+K\+Map\+Rect\+Get\+Width (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_b_m_k_map_rect}{B\+M\+K\+Map\+Rect}}}]{rect }\end{DoxyParamCaption})}

获取指定矩形的宽度 
\begin{DoxyParams}{参数}
{\em rect} & 指定的矩形 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
指定矩形的宽度 
\end{DoxyReturn}
\mbox{\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 U\+I\+K\+I\+T\+\_\+\+E\+X\+T\+E\+RN \mbox{\hyperlink{struct_b_m_k_map_rect}{B\+M\+K\+Map\+Rect}} B\+M\+K\+Map\+Rect\+Inset (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_b_m_k_map_rect}{B\+M\+K\+Map\+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}
\mbox{\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 U\+I\+K\+I\+T\+\_\+\+E\+X\+T\+E\+RN \mbox{\hyperlink{struct_b_m_k_map_rect}{B\+M\+K\+Map\+Rect}} B\+M\+K\+Map\+Rect\+Intersection (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_b_m_k_map_rect}{B\+M\+K\+Map\+Rect}}}]{rect1,  }\item[{\mbox{\hyperlink{struct_b_m_k_map_rect}{B\+M\+K\+Map\+Rect}}}]{rect2 }\end{DoxyParamCaption})}

计算两个矩形的交集 
\begin{DoxyParams}{参数}
{\em rect1} & 矩形1 \\
\hline
{\em rect2} & 矩形2 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
两个矩形的交集 
\end{DoxyReturn}
\mbox{\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 U\+I\+K\+I\+T\+\_\+\+E\+X\+T\+E\+RN B\+O\+OL B\+M\+K\+Map\+Rect\+Intersects\+Rect (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_b_m_k_map_rect}{B\+M\+K\+Map\+Rect}}}]{rect1,  }\item[{\mbox{\hyperlink{struct_b_m_k_map_rect}{B\+M\+K\+Map\+Rect}}}]{rect2 }\end{DoxyParamCaption})}

判断两矩形是否相交 
\begin{DoxyParams}{参数}
{\em rect1} & 矩形1 \\
\hline
{\em rect2} & 矩形2 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
如果相交，返回\+Y\+E\+S，否则，返回\+NO 
\end{DoxyReturn}
\mbox{\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 U\+I\+K\+I\+T\+\_\+\+S\+T\+A\+T\+I\+C\+\_\+\+I\+N\+L\+I\+NE B\+O\+OL B\+M\+K\+Map\+Rect\+Is\+Empty (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_b_m_k_map_rect}{B\+M\+K\+Map\+Rect}}}]{rect }\end{DoxyParamCaption})}

判断一个矩形是否为空矩形 
\begin{DoxyParams}{参数}
{\em rect} & 指定矩形 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
如果矩形为空矩形，返回\+Y\+E\+S，否则返回\+NO 
\end{DoxyReturn}
\mbox{\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 U\+I\+K\+I\+T\+\_\+\+E\+X\+T\+E\+RN \mbox{\hyperlink{struct_b_m_k_map_rect}{B\+M\+K\+Map\+Rect}} B\+M\+K\+Map\+Rect\+Offset (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_b_m_k_map_rect}{B\+M\+K\+Map\+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}
\mbox{\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 U\+I\+K\+I\+T\+\_\+\+E\+X\+T\+E\+RN \mbox{\hyperlink{struct_b_m_k_map_rect}{B\+M\+K\+Map\+Rect}} B\+M\+K\+Map\+Rect\+Remainder (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_b_m_k_map_rect}{B\+M\+K\+Map\+Rect}}}]{rect }\end{DoxyParamCaption})}

对于跨越了180经线的矩形，本函数将世界之外的部分进行分割，并将分割下来的矩形转换到地球对面，例如将-\/185度经线对应的区域转换到5度经线对应的区域，并将转换后的矩形返回 
\begin{DoxyParams}{参数}
{\em rect} & 待处理的矩形 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
返回转换后的矩形 
\end{DoxyReturn}
\mbox{\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 U\+I\+K\+I\+T\+\_\+\+E\+X\+T\+E\+RN B\+O\+OL B\+M\+K\+Map\+Rect\+Spans180th\+Meridian (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_b_m_k_map_rect}{B\+M\+K\+Map\+Rect}}}]{rect }\end{DoxyParamCaption})}

判断指定的直角坐标矩形是否跨越了180度经线 
\begin{DoxyParams}{参数}
{\em rect} & 待判断的矩形 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
如果跨越，返回\+Y\+E\+S，否则返回\+NO 
\end{DoxyReturn}
\mbox{\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 U\+I\+K\+I\+T\+\_\+\+E\+X\+T\+E\+RN \mbox{\hyperlink{struct_b_m_k_map_rect}{B\+M\+K\+Map\+Rect}} B\+M\+K\+Map\+Rect\+Union (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_b_m_k_map_rect}{B\+M\+K\+Map\+Rect}}}]{rect1,  }\item[{\mbox{\hyperlink{struct_b_m_k_map_rect}{B\+M\+K\+Map\+Rect}}}]{rect2 }\end{DoxyParamCaption})}

计算两个矩形的并集 
\begin{DoxyParams}{参数}
{\em rect1} & 矩形1 \\
\hline
{\em rect2} & 矩形2 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
两个矩形的并集 
\end{DoxyReturn}
\mbox{\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 U\+I\+K\+I\+T\+\_\+\+S\+T\+A\+T\+I\+C\+\_\+\+I\+N\+L\+I\+NE B\+O\+OL B\+M\+K\+Map\+Size\+Equal\+To\+Size (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_b_m_k_map_size}{B\+M\+K\+Map\+Size}}}]{size1,  }\item[{\mbox{\hyperlink{struct_b_m_k_map_size}{B\+M\+K\+Map\+Size}}}]{size2 }\end{DoxyParamCaption})}

判断两个矩形范围是否相等 
\begin{DoxyParams}{参数}
{\em size1} & 范围1 \\
\hline
{\em size2} & 范围2 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
如果相等，返回\+Y\+E\+S，否则返回\+NO 
\end{DoxyReturn}
\mbox{\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 U\+I\+K\+I\+T\+\_\+\+E\+X\+T\+E\+RN C\+L\+Location\+Distance B\+M\+K\+Meters\+Between\+Coordinates (\begin{DoxyParamCaption}\item[{C\+L\+Location\+Coordinate2D}]{a,  }\item[{C\+L\+Location\+Coordinate2D}]{b }\end{DoxyParamCaption})}

计算指定两点之间的距离（经纬度） 
\begin{DoxyParams}{参数}
{\em a} & 第一个经纬度 \\
\hline
{\em b} & 第二个经纬度 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
两点之间的距离，单位：米 
\end{DoxyReturn}
\mbox{\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 U\+I\+K\+I\+T\+\_\+\+E\+X\+T\+E\+RN C\+L\+Location\+Distance B\+M\+K\+Meters\+Between\+Map\+Points (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_b_m_k_map_point}{B\+M\+K\+Map\+Point}}}]{a,  }\item[{\mbox{\hyperlink{struct_b_m_k_map_point}{B\+M\+K\+Map\+Point}}}]{b }\end{DoxyParamCaption})}

计算指定两点之间的距离（平面直角坐标） 
\begin{DoxyParams}{参数}
{\em a} & 第一个坐标点 \\
\hline
{\em b} & 第二个坐标点 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
两点之间的距离，单位：米 
\end{DoxyReturn}
\mbox{\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 U\+I\+K\+I\+T\+\_\+\+E\+X\+T\+E\+RN C\+L\+Location\+Distance B\+M\+K\+Meters\+Per\+Map\+Point\+At\+Latitude (\begin{DoxyParamCaption}\item[{C\+L\+Location\+Degrees}]{latitude }\end{DoxyParamCaption})}

计算在指定纬度下一个\+B\+M\+K\+Map\+Point单位对应的米数 
\begin{DoxyParams}{参数}
{\em latitude} & 指定的纬度 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
在指定纬度下一个\+B\+M\+K\+Map\+Point单位对应的米数 
\end{DoxyReturn}
\mbox{\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 U\+I\+K\+I\+T\+\_\+\+E\+X\+T\+E\+RN B\+O\+OL B\+M\+K\+Polygon\+Contains\+Coordinate (\begin{DoxyParamCaption}\item[{C\+L\+Location\+Coordinate2D}]{point,  }\item[{C\+L\+Location\+Coordinate2D $\ast$}]{polygon,  }\item[{N\+S\+U\+Integer}]{count }\end{DoxyParamCaption})}

判断点是否在多边形内 
\begin{DoxyParams}{参数}
{\em point} & 待判断的经纬度点 \\
\hline
{\em polygon} & 目标多边形的顶点数组 \\
\hline
{\em count} & 目标多边形顶点数组元素个数 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
如果在内，返回\+Y\+E\+S，否则返回\+NO 
\end{DoxyReturn}
\mbox{\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 U\+I\+K\+I\+T\+\_\+\+E\+X\+T\+E\+RN B\+O\+OL B\+M\+K\+Polygon\+Contains\+Point (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_b_m_k_map_point}{B\+M\+K\+Map\+Point}}}]{point,  }\item[{\mbox{\hyperlink{struct_b_m_k_map_point}{B\+M\+K\+Map\+Point}} $\ast$}]{polygon,  }\item[{N\+S\+U\+Integer}]{count }\end{DoxyParamCaption})}

判断点是否在多边形内 
\begin{DoxyParams}{参数}
{\em point} & 待判断的平面坐标点 \\
\hline
{\em polygon} & 目标多边形的顶点数组 \\
\hline
{\em count} & 目标多边形顶点数组元素个数 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
如果在内，返回\+Y\+E\+S，否则返回\+NO 
\end{DoxyReturn}
\mbox{\Hypertarget{_b_m_k_geometry_8h_a6f2b502558d61983e911e77b02f86166}\label{_b_m_k_geometry_8h_a6f2b502558d61983e911e77b02f86166}} 
\index{BMKGeometry.h@{BMKGeometry.h}!BMKStringFromMapPoint@{BMKStringFromMapPoint}}
\index{BMKStringFromMapPoint@{BMKStringFromMapPoint}!BMKGeometry.h@{BMKGeometry.h}}
\doxysubsubsection{\texorpdfstring{BMKStringFromMapPoint()}{BMKStringFromMapPoint()}}
{\footnotesize\ttfamily U\+I\+K\+I\+T\+\_\+\+S\+T\+A\+T\+I\+C\+\_\+\+I\+N\+L\+I\+NE N\+S\+String$\ast$ B\+M\+K\+String\+From\+Map\+Point (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_b_m_k_map_point}{B\+M\+K\+Map\+Point}}}]{point }\end{DoxyParamCaption})}

将\+B\+M\+K\+Map\+Point格式化为字符串 
\begin{DoxyParams}{参数}
{\em point} & 指定的标点 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
返回转换后的字符串 
\end{DoxyReturn}
\mbox{\Hypertarget{_b_m_k_geometry_8h_a07c0dc35e145b24828d11e20e8d1456e}\label{_b_m_k_geometry_8h_a07c0dc35e145b24828d11e20e8d1456e}} 
\index{BMKGeometry.h@{BMKGeometry.h}!BMKStringFromMapRect@{BMKStringFromMapRect}}
\index{BMKStringFromMapRect@{BMKStringFromMapRect}!BMKGeometry.h@{BMKGeometry.h}}
\doxysubsubsection{\texorpdfstring{BMKStringFromMapRect()}{BMKStringFromMapRect()}}
{\footnotesize\ttfamily U\+I\+K\+I\+T\+\_\+\+S\+T\+A\+T\+I\+C\+\_\+\+I\+N\+L\+I\+NE N\+S\+String$\ast$ B\+M\+K\+String\+From\+Map\+Rect (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_b_m_k_map_rect}{B\+M\+K\+Map\+Rect}}}]{rect }\end{DoxyParamCaption})}

将\+B\+M\+K\+Map\+Rect格式化为字符串 
\begin{DoxyParams}{参数}
{\em rect} & 指定的rect \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
返回转换后的字符串 
\end{DoxyReturn}
\mbox{\Hypertarget{_b_m_k_geometry_8h_a687e957bfdaee6c3e7ef97c3831127d2}\label{_b_m_k_geometry_8h_a687e957bfdaee6c3e7ef97c3831127d2}} 
\index{BMKGeometry.h@{BMKGeometry.h}!BMKStringFromMapSize@{BMKStringFromMapSize}}
\index{BMKStringFromMapSize@{BMKStringFromMapSize}!BMKGeometry.h@{BMKGeometry.h}}
\doxysubsubsection{\texorpdfstring{BMKStringFromMapSize()}{BMKStringFromMapSize()}}
{\footnotesize\ttfamily U\+I\+K\+I\+T\+\_\+\+S\+T\+A\+T\+I\+C\+\_\+\+I\+N\+L\+I\+NE N\+S\+String$\ast$ B\+M\+K\+String\+From\+Map\+Size (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_b_m_k_map_size}{B\+M\+K\+Map\+Size}}}]{size }\end{DoxyParamCaption})}

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