\doxysection{BMKGeometry.\+h}
\hypertarget{_b_m_k_geometry_8h_source}{}\label{_b_m_k_geometry_8h_source}\index{BaiduMapAPI\_Utils.framework/Headers/BMKGeometry.h@{BaiduMapAPI\_Utils.framework/Headers/BMKGeometry.h}}
\mbox{\hyperlink{_b_m_k_geometry_8h}{浏览该文件的文档.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ \textcolor{comment}{/*\ \ BMKGeometry.h}}
\DoxyCodeLine{00002\ \textcolor{comment}{\ *\ \ BMapKit}}
\DoxyCodeLine{00003\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00004\ \textcolor{comment}{\ *\ \ Copyright\ 2011\ Baidu\ Inc.\ All\ rights\ reserved.}}
\DoxyCodeLine{00005\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00006\ \textcolor{comment}{\ */}}
\DoxyCodeLine{00007\ }
\DoxyCodeLine{00008\ \textcolor{preprocessor}{\#import\ <BaiduMapAPI\_Base/BMKTypes.h>}}
\DoxyCodeLine{00009\ \textcolor{preprocessor}{\#import\ <UIKit/UIKit.h>}}
\DoxyCodeLine{00010\ }
\DoxyCodeLine{00011\ }
\DoxyCodeLine{00012\ \textcolor{preprocessor}{\#pragma\ mark\ -\/-\/-\/-\/-\/坐标转换}}
\DoxyCodeLine{00018\ UIKIT\_EXTERN\ \mbox{\hyperlink{struct_b_m_k_map_point}{BMKMapPoint}}\ \mbox{\hyperlink{_b_m_k_geometry_8h_a8cdb8447bff118ee28d8de511faf32a7}{BMKMapPointForCoordinate}}(CLLocationCoordinate2D\ coordinate);}
\DoxyCodeLine{00019\ }
\DoxyCodeLine{00025\ UIKIT\_EXTERN\ CLLocationCoordinate2D\ \mbox{\hyperlink{_b_m_k_geometry_8h_a82e1819974df12b83c0f899b27f1e1cd}{BMKCoordinateForMapPoint}}(\mbox{\hyperlink{struct_b_m_k_map_point}{BMKMapPoint}}\ mapPoint);}
\DoxyCodeLine{00026\ }
\DoxyCodeLine{00027\ }
\DoxyCodeLine{00033\ UIKIT\_EXTERN\ CGPoint\ \mbox{\hyperlink{_b_m_k_geometry_8h_a122ddbb0a69377d11a0f165ff84e2157}{BMKConvertToBaiduMercatorFromBD09LL}}(CLLocationCoordinate2D\ bd09llCoordinate);}
\DoxyCodeLine{00034\ }
\DoxyCodeLine{00040\ UIKIT\_EXTERN\ CLLocationCoordinate2D\ \mbox{\hyperlink{_b_m_k_geometry_8h_ad496be626f8fbf4ad91b4c2bd3000e22}{BMKConvertToBD09LLFromBaiduMercator}}(CGPoint\ bdMCTCoordinate);}
\DoxyCodeLine{00041\ }
\DoxyCodeLine{00052\ UIKIT\_EXTERN\ CLLocationCoordinate2D\ \mbox{\hyperlink{_b_m_k_geometry_8h_aa77eaf6640f467507f1c6c0ba9d6b47a}{BMKCoordTrans}}(CLLocationCoordinate2D\ coordinate,\ BMK\_COORD\_TYPE\ fromType,\ BMK\_COORD\_TYPE\ toType);}
\DoxyCodeLine{00053\ }
\DoxyCodeLine{00060\ FOUNDATION\_EXTERN\ NSDictionary*\ \mbox{\hyperlink{_b_m_k_geometry_8h_aae0f4db531bfb59c2365dc8a748a3347}{BMKConvertBaiduCoorFrom}}(CLLocationCoordinate2D\ coordinate,BMK\_COORD\_TYPE\ type)\ \_\_attribute\_\_((deprecated(\textcolor{stringliteral}{"{}使用BMKCoordTrans方法代替"{}})));}
\DoxyCodeLine{00061\ }
\DoxyCodeLine{00062\ \textcolor{preprocessor}{\#pragma\ mark\ -\/-\/-\/-\/-\/几何计算}}
\DoxyCodeLine{00068\ UIKIT\_EXTERN\ CLLocationDistance\ \mbox{\hyperlink{_b_m_k_geometry_8h_acd9d69e5e899ef5acad884002c83eda5}{BMKMetersPerMapPointAtLatitude}}(CLLocationDegrees\ latitude);}
\DoxyCodeLine{00069\ }
\DoxyCodeLine{00075\ UIKIT\_EXTERN\ \textcolor{keywordtype}{double}\ \mbox{\hyperlink{_b_m_k_geometry_8h_a3766563510b0551c4304fa06562e54a2}{BMKMapPointsPerMeterAtLatitude}}(CLLocationDegrees\ latitude);}
\DoxyCodeLine{00076\ }
\DoxyCodeLine{00083\ UIKIT\_EXTERN\ CLLocationDistance\ \mbox{\hyperlink{_b_m_k_geometry_8h_a6051f3027c1960e53101fa95357ce068}{BMKMetersBetweenMapPoints}}(\mbox{\hyperlink{struct_b_m_k_map_point}{BMKMapPoint}}\ a,\ \mbox{\hyperlink{struct_b_m_k_map_point}{BMKMapPoint}}\ b);}
\DoxyCodeLine{00084\ }
\DoxyCodeLine{00091\ UIKIT\_EXTERN\ CLLocationDistance\ \mbox{\hyperlink{_b_m_k_geometry_8h_a331a60cb949a5aab1ed9678457e938db}{BMKMetersBetweenCoordinates}}(CLLocationCoordinate2D\ a,\ CLLocationCoordinate2D\ b);}
\DoxyCodeLine{00092\ }
\DoxyCodeLine{00093\ }
\DoxyCodeLine{00099\ UIKIT\_STATIC\_INLINE\ \textcolor{keywordtype}{double}\ \mbox{\hyperlink{_b_m_k_geometry_8h_a2c1a5ec9570711e8524827fa9a395d0d}{BMKMapRectGetWidth}}(\mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMapRect}}\ rect)\ \{}
\DoxyCodeLine{00100\ \ \ \ \ \textcolor{keywordflow}{return}\ rect.\mbox{\hyperlink{struct_b_m_k_map_rect_ab83b0fb9e6e63b6ab24bdce9ced1e92e}{size}}.\mbox{\hyperlink{struct_b_m_k_map_size_a1005d7fd59045a80619c024df3156d6a}{width}};}
\DoxyCodeLine{00101\ \}}
\DoxyCodeLine{00102\ }
\DoxyCodeLine{00108\ UIKIT\_STATIC\_INLINE\ \textcolor{keywordtype}{double}\ \mbox{\hyperlink{_b_m_k_geometry_8h_ab5ea9c49c319a9ae494a7da167be6189}{BMKMapRectGetHeight}}(\mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMapRect}}\ rect)\ \{}
\DoxyCodeLine{00109\ \ \ \ \ \textcolor{keywordflow}{return}\ rect.\mbox{\hyperlink{struct_b_m_k_map_rect_ab83b0fb9e6e63b6ab24bdce9ced1e92e}{size}}.\mbox{\hyperlink{struct_b_m_k_map_size_a516baff78187bf8f07ef49f01c7d86fc}{height}};}
\DoxyCodeLine{00110\ \}}
\DoxyCodeLine{00111\ }
\DoxyCodeLine{00118\ UIKIT\_STATIC\_INLINE\ BOOL\ \mbox{\hyperlink{_b_m_k_geometry_8h_ade1aa48d7c452c6aae008fe2890fe05b}{BMKMapPointEqualToPoint}}(\mbox{\hyperlink{struct_b_m_k_map_point}{BMKMapPoint}}\ point1,\ \mbox{\hyperlink{struct_b_m_k_map_point}{BMKMapPoint}}\ point2)\ \{}
\DoxyCodeLine{00119\ \ \ \ \ \textcolor{keywordflow}{return}\ point1.\mbox{\hyperlink{struct_b_m_k_map_point_a8c0ca1c3f0cbb5fe183ae7745781d8fb}{x}}\ ==\ point2.\mbox{\hyperlink{struct_b_m_k_map_point_a8c0ca1c3f0cbb5fe183ae7745781d8fb}{x}}\ \&\&\ point1.\mbox{\hyperlink{struct_b_m_k_map_point_a9d0aff0bad009459af85d1e51a194341}{y}}\ ==\ point2.\mbox{\hyperlink{struct_b_m_k_map_point_a9d0aff0bad009459af85d1e51a194341}{y}};}
\DoxyCodeLine{00120\ \}}
\DoxyCodeLine{00121\ }
\DoxyCodeLine{00129\ UIKIT\_EXTERN\ \mbox{\hyperlink{struct_b_m_k_map_point}{BMKMapPoint}}\ \mbox{\hyperlink{_b_m_k_geometry_8h_ae16b0357dd9b8009aaaff2721da08010}{BMKGetNearestMapPointFromPolyline}}(\mbox{\hyperlink{struct_b_m_k_map_point}{BMKMapPoint}}\ point,\ \mbox{\hyperlink{struct_b_m_k_map_point}{BMKMapPoint}}*\ polyline,\ NSUInteger\ count);}
\DoxyCodeLine{00137\ UIKIT\_EXTERN\ \mbox{\hyperlink{struct_b_m_k_map_point}{BMKMapPoint}}\ \mbox{\hyperlink{_b_m_k_geometry_8h_abcb837b5559e421a0ee3a34c5f3a448f}{BMKGetPointToTheVerticalFootOfLine}}(\mbox{\hyperlink{struct_b_m_k_map_point}{BMKMapPoint}}\ point,\ \mbox{\hyperlink{struct_b_m_k_map_point}{BMKMapPoint}}\ lineStartPt,\ \mbox{\hyperlink{struct_b_m_k_map_point}{BMKMapPoint}}\ lineEndPt);}
\DoxyCodeLine{00145\ UIKIT\_EXTERN\ CLLocationDistance\ \mbox{\hyperlink{_b_m_k_geometry_8h_ac7c70c6f2f19459b99391454b45c909d}{BMKGetDistanceFromPointToLine}}(\mbox{\hyperlink{struct_b_m_k_map_point}{BMKMapPoint}}\ point,\ \mbox{\hyperlink{struct_b_m_k_map_point}{BMKMapPoint}}\ lineStartPt,\ \mbox{\hyperlink{struct_b_m_k_map_point}{BMKMapPoint}}\ lineEndPt);}
\DoxyCodeLine{00146\ }
\DoxyCodeLine{00147\ }
\DoxyCodeLine{00155\ UIKIT\_EXTERN\ \mbox{\hyperlink{struct_b_m_k_coordinate_region}{BMKCoordinateRegion}}\ \mbox{\hyperlink{_b_m_k_geometry_8h_a30878e885fa02a2605bb194645736a36}{BMKCoordinateRegionMakeWithDistance}}(CLLocationCoordinate2D\ centerCoordinate,\ CLLocationDistance\ latitudinalMeters,\ CLLocationDistance\ longitudinalMeters);}
\DoxyCodeLine{00156\ }
\DoxyCodeLine{00157\ \textcolor{preprocessor}{\#pragma\ mark\ rect}}
\DoxyCodeLine{00164\ UIKIT\_STATIC\_INLINE\ BOOL\ \mbox{\hyperlink{_b_m_k_geometry_8h_adc307cf3a5707b82e78265ba6be1ffc4}{BMKMapSizeEqualToSize}}(\mbox{\hyperlink{struct_b_m_k_map_size}{BMKMapSize}}\ size1,\ \mbox{\hyperlink{struct_b_m_k_map_size}{BMKMapSize}}\ size2)\ \{}
\DoxyCodeLine{00165\ \ \ \ \ \textcolor{keywordflow}{return}\ size1.\mbox{\hyperlink{struct_b_m_k_map_size_a1005d7fd59045a80619c024df3156d6a}{width}}\ ==\ size2.\mbox{\hyperlink{struct_b_m_k_map_size_a1005d7fd59045a80619c024df3156d6a}{width}}\ \&\&\ size1.\mbox{\hyperlink{struct_b_m_k_map_size_a516baff78187bf8f07ef49f01c7d86fc}{height}}\ ==\ size2.\mbox{\hyperlink{struct_b_m_k_map_size_a516baff78187bf8f07ef49f01c7d86fc}{height}};}
\DoxyCodeLine{00166\ \}}
\DoxyCodeLine{00167\ }
\DoxyCodeLine{00174\ UIKIT\_STATIC\_INLINE\ BOOL\ \mbox{\hyperlink{_b_m_k_geometry_8h_aa64e3dd2b0333ddadda311abb367fc39}{BMKMapRectEqualToRect}}(\mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMapRect}}\ rect1,\ \mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMapRect}}\ rect2)\ \{}
\DoxyCodeLine{00175\ \ \ \ \ \textcolor{keywordflow}{return}\ }
\DoxyCodeLine{00176\ \ \ \ \ \mbox{\hyperlink{_b_m_k_geometry_8h_ade1aa48d7c452c6aae008fe2890fe05b}{BMKMapPointEqualToPoint}}(rect1.\mbox{\hyperlink{struct_b_m_k_map_rect_aeeee8bcaabf5c65e222f1891009325f1}{origin}},\ rect2.\mbox{\hyperlink{struct_b_m_k_map_rect_aeeee8bcaabf5c65e222f1891009325f1}{origin}})\ \&\&}
\DoxyCodeLine{00177\ \ \ \ \ \mbox{\hyperlink{_b_m_k_geometry_8h_adc307cf3a5707b82e78265ba6be1ffc4}{BMKMapSizeEqualToSize}}(rect1.\mbox{\hyperlink{struct_b_m_k_map_rect_ab83b0fb9e6e63b6ab24bdce9ced1e92e}{size}},\ rect2.\mbox{\hyperlink{struct_b_m_k_map_rect_ab83b0fb9e6e63b6ab24bdce9ced1e92e}{size}});}
\DoxyCodeLine{00178\ \}}
\DoxyCodeLine{00179\ }
\DoxyCodeLine{00185\ UIKIT\_STATIC\_INLINE\ BOOL\ \mbox{\hyperlink{_b_m_k_geometry_8h_a6a49884fe83e2aeb08b6827bf9361ef9}{BMKMapRectIsEmpty}}(\mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMapRect}}\ rect)\ \{}
\DoxyCodeLine{00186\ \ \ \ \ \textcolor{keywordflow}{return}\ \mbox{\hyperlink{_b_m_k_types_8h_a2abc95ac03215aad58b7a02f54264605}{BMKMapRectIsNull}}(rect)\ ||\ (rect.\mbox{\hyperlink{struct_b_m_k_map_rect_ab83b0fb9e6e63b6ab24bdce9ced1e92e}{size}}.\mbox{\hyperlink{struct_b_m_k_map_size_a1005d7fd59045a80619c024df3156d6a}{width}}\ ==\ 0.0\ \&\&\ rect.\mbox{\hyperlink{struct_b_m_k_map_rect_ab83b0fb9e6e63b6ab24bdce9ced1e92e}{size}}.\mbox{\hyperlink{struct_b_m_k_map_size_a516baff78187bf8f07ef49f01c7d86fc}{height}}\ ==\ 0.0);}
\DoxyCodeLine{00187\ \}}
\DoxyCodeLine{00188\ }
\DoxyCodeLine{00189\ }
\DoxyCodeLine{00190\ }
\DoxyCodeLine{00197\ UIKIT\_EXTERN\ \mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMapRect}}\ \mbox{\hyperlink{_b_m_k_geometry_8h_aca2a7535ee5bfbd1204f48d2536f11ba}{BMKMapRectUnion}}(\mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMapRect}}\ rect1,\ \mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMapRect}}\ rect2);}
\DoxyCodeLine{00198\ }
\DoxyCodeLine{00205\ UIKIT\_EXTERN\ \mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMapRect}}\ \mbox{\hyperlink{_b_m_k_geometry_8h_af46516f57d0abfd6d8aa902bc50060a6}{BMKMapRectIntersection}}(\mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMapRect}}\ rect1,\ \mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMapRect}}\ rect2);}
\DoxyCodeLine{00206\ }
\DoxyCodeLine{00214\ UIKIT\_EXTERN\ \mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMapRect}}\ \mbox{\hyperlink{_b_m_k_geometry_8h_a717e60a9798195b716d083f3e8da1d54}{BMKMapRectInset}}(\mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMapRect}}\ rect,\ \textcolor{keywordtype}{double}\ dx,\ \textcolor{keywordtype}{double}\ dy);}
\DoxyCodeLine{00215\ }
\DoxyCodeLine{00223\ UIKIT\_EXTERN\ \mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMapRect}}\ \mbox{\hyperlink{_b_m_k_geometry_8h_a895de18577c2de7a4d0843d61be5d948}{BMKMapRectOffset}}(\mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMapRect}}\ rect,\ \textcolor{keywordtype}{double}\ dx,\ \textcolor{keywordtype}{double}\ dy);}
\DoxyCodeLine{00224\ }
\DoxyCodeLine{00233\ UIKIT\_EXTERN\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{_b_m_k_geometry_8h_a32fb4cbbc882aefdffb1981b2a445621}{BMKMapRectDivide}}(\mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMapRect}}\ rect,\ \mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMapRect}}\ *slice,\ \mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMapRect}}\ *remainder,\ \textcolor{keywordtype}{double}\ amount,\ CGRectEdge\ edge);}
\DoxyCodeLine{00234\ }
\DoxyCodeLine{00241\ UIKIT\_EXTERN\ BOOL\ \mbox{\hyperlink{_b_m_k_geometry_8h_a756802dc5d51b9e783f9d83711b2972f}{BMKMapRectContainsPoint}}(\mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMapRect}}\ rect,\ \mbox{\hyperlink{struct_b_m_k_map_point}{BMKMapPoint}}\ point);}
\DoxyCodeLine{00242\ }
\DoxyCodeLine{00249\ UIKIT\_EXTERN\ BOOL\ \mbox{\hyperlink{_b_m_k_geometry_8h_a3bf9df0b02a9c78e5daa7862c3c197e5}{BMKMapRectContainsRect}}(\mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMapRect}}\ rect1,\ \mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMapRect}}\ rect2);}
\DoxyCodeLine{00250\ }
\DoxyCodeLine{00257\ UIKIT\_EXTERN\ BOOL\ \mbox{\hyperlink{_b_m_k_geometry_8h_ad8fc8d14cda123242c551db6c820e0a1}{BMKMapRectIntersectsRect}}(\mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMapRect}}\ rect1,\ \mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMapRect}}\ rect2);}
\DoxyCodeLine{00258\ }
\DoxyCodeLine{00264\ UIKIT\_EXTERN\ \mbox{\hyperlink{struct_b_m_k_coordinate_region}{BMKCoordinateRegion}}\ \mbox{\hyperlink{_b_m_k_geometry_8h_a779ad65709d575145d839d1d7e972064}{BMKCoordinateRegionForMapRect}}(\mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMapRect}}\ rect);}
\DoxyCodeLine{00265\ }
\DoxyCodeLine{00271\ UIKIT\_EXTERN\ BOOL\ \mbox{\hyperlink{_b_m_k_geometry_8h_a2fa044766e6c2c56e831a552c1b25d7b}{BMKMapRectSpans180thMeridian}}(\mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMapRect}}\ rect);}
\DoxyCodeLine{00272\ }
\DoxyCodeLine{00278\ UIKIT\_EXTERN\ \mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMapRect}}\ \mbox{\hyperlink{_b_m_k_geometry_8h_acdf6820a550a4c953020fc136a17e4b1}{BMKMapRectRemainder}}(\mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMapRect}}\ rect);}
\DoxyCodeLine{00279\ }
\DoxyCodeLine{00280\ \textcolor{preprocessor}{\#pragma\ mark\ circle}}
\DoxyCodeLine{00288\ UIKIT\_EXTERN\ BOOL\ \mbox{\hyperlink{_b_m_k_geometry_8h_a545c528fdcc5a2090aeb287f0ea6bde3}{BMKCircleContainsPoint}}(\mbox{\hyperlink{struct_b_m_k_map_point}{BMKMapPoint}}\ point,\ \mbox{\hyperlink{struct_b_m_k_map_point}{BMKMapPoint}}\ center,\ \textcolor{keywordtype}{double}\ radius);}
\DoxyCodeLine{00289\ }
\DoxyCodeLine{00297\ UIKIT\_EXTERN\ BOOL\ \mbox{\hyperlink{_b_m_k_geometry_8h_aead8a56da76ac340393379c4cc3d3bc2}{BMKCircleContainsCoordinate}}(CLLocationCoordinate2D\ point,\ CLLocationCoordinate2D\ center,\ \textcolor{keywordtype}{double}\ radius);}
\DoxyCodeLine{00298\ }
\DoxyCodeLine{00299\ \textcolor{preprocessor}{\#pragma\ mark\ polygon}}
\DoxyCodeLine{00307\ UIKIT\_EXTERN\ BOOL\ \mbox{\hyperlink{_b_m_k_geometry_8h_aa219741f9bcead52b85ab04da3727845}{BMKPolygonContainsPoint}}(\mbox{\hyperlink{struct_b_m_k_map_point}{BMKMapPoint}}\ point,\ \mbox{\hyperlink{struct_b_m_k_map_point}{BMKMapPoint}}\ *polygon,\ NSUInteger\ count);}
\DoxyCodeLine{00308\ }
\DoxyCodeLine{00316\ UIKIT\_EXTERN\ BOOL\ \mbox{\hyperlink{_b_m_k_geometry_8h_a563160557104fef92a47f118ac05c6ec}{BMKPolygonContainsCoordinate}}(CLLocationCoordinate2D\ point,\ CLLocationCoordinate2D\ *polygon,\ NSUInteger\ count);}
\DoxyCodeLine{00317\ }
\DoxyCodeLine{00318\ }
\DoxyCodeLine{00319\ }
\DoxyCodeLine{00326\ UIKIT\_EXTERN\ \textcolor{keywordtype}{double}\ \mbox{\hyperlink{_b_m_k_geometry_8h_a01d5bd4975df0f0a7035f7d384794571}{BMKAreaBetweenCoordinates}}(CLLocationCoordinate2D\ leftTop,\ CLLocationCoordinate2D\ rightBottom);}
\DoxyCodeLine{00327\ }
\DoxyCodeLine{00328\ }
\DoxyCodeLine{00336\ UIKIT\_EXTERN\ \textcolor{keywordtype}{double}\ \mbox{\hyperlink{_b_m_k_geometry_8h_a4749a42c8375ef450041f7c145a7ed94}{BMKAreaForPolygon}}(CLLocationCoordinate2D\ *coordinates,\ \textcolor{keywordtype}{int}\ count);}
\DoxyCodeLine{00337\ }
\DoxyCodeLine{00338\ }
\DoxyCodeLine{00339\ \textcolor{preprocessor}{\#pragma\ mark\ -\/-\/-\/-\/-\/Others}}
\DoxyCodeLine{00340\ }
\DoxyCodeLine{00347\ UIKIT\_EXTERN\ CLLocationDirection\ \mbox{\hyperlink{_b_m_k_geometry_8h_a838e0ee685317da9a3f92645b58d6236}{BMKGetDirectionFromCoords}}(CLLocationCoordinate2D\ startCoord,\ CLLocationCoordinate2D\ endCoord);}
\DoxyCodeLine{00354\ UIKIT\_EXTERN\ CLLocationDirection\ \mbox{\hyperlink{_b_m_k_geometry_8h_a690ac10a9653824fe796e3dd95015ac6}{BMKGetDirectionFromPoints}}(\mbox{\hyperlink{struct_b_m_k_map_point}{BMKMapPoint}}\ startPt,\ \mbox{\hyperlink{struct_b_m_k_map_point}{BMKMapPoint}}\ endPt);}
\DoxyCodeLine{00360\ UIKIT\_STATIC\_INLINE\ NSString\ *\mbox{\hyperlink{_b_m_k_geometry_8h_a0b2bb97d16634901cbde4b13584a5063}{BMKStringFromMapPoint}}(\mbox{\hyperlink{struct_b_m_k_map_point}{BMKMapPoint}}\ point)\ \{}
\DoxyCodeLine{00361\ \ \ \ \ \textcolor{keywordflow}{return}\ [NSString\ stringWithFormat:\textcolor{stringliteral}{@"{}\{\%.1f,\ \%.1f\}"{}},\ point.\mbox{\hyperlink{struct_b_m_k_map_point_a8c0ca1c3f0cbb5fe183ae7745781d8fb}{x}},\ point.\mbox{\hyperlink{struct_b_m_k_map_point_a9d0aff0bad009459af85d1e51a194341}{y}}];}
\DoxyCodeLine{00362\ \}}
\DoxyCodeLine{00363\ }
\DoxyCodeLine{00369\ UIKIT\_STATIC\_INLINE\ NSString\ *\mbox{\hyperlink{_b_m_k_geometry_8h_a95d15a9dadfd3a3e5ee68c6e049fbe10}{BMKStringFromMapSize}}(\mbox{\hyperlink{struct_b_m_k_map_size}{BMKMapSize}}\ size)\ \{}
\DoxyCodeLine{00370\ \ \ \ \ \textcolor{keywordflow}{return}\ [NSString\ stringWithFormat:\textcolor{stringliteral}{@"{}\{\%.1f,\ \%.1f\}"{}},\ size.\mbox{\hyperlink{struct_b_m_k_map_size_a1005d7fd59045a80619c024df3156d6a}{width}},\ size.\mbox{\hyperlink{struct_b_m_k_map_size_a516baff78187bf8f07ef49f01c7d86fc}{height}}];}
\DoxyCodeLine{00371\ \}}
\DoxyCodeLine{00372\ }
\DoxyCodeLine{00378\ UIKIT\_STATIC\_INLINE\ NSString\ *\mbox{\hyperlink{_b_m_k_geometry_8h_a5946f9224139b71e3007f863fd45d536}{BMKStringFromMapRect}}(\mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMapRect}}\ rect)\ \{}
\DoxyCodeLine{00379\ \ \ \ \ \textcolor{keywordflow}{return}\ [NSString\ stringWithFormat:\textcolor{stringliteral}{@"{}\{\%@,\ \%@\}"{}},\ \mbox{\hyperlink{_b_m_k_geometry_8h_a0b2bb97d16634901cbde4b13584a5063}{BMKStringFromMapPoint}}(rect.\mbox{\hyperlink{struct_b_m_k_map_rect_aeeee8bcaabf5c65e222f1891009325f1}{origin}}),\ \mbox{\hyperlink{_b_m_k_geometry_8h_a95d15a9dadfd3a3e5ee68c6e049fbe10}{BMKStringFromMapSize}}(rect.\mbox{\hyperlink{struct_b_m_k_map_rect_ab83b0fb9e6e63b6ab24bdce9ced1e92e}{size}})];}
\DoxyCodeLine{00380\ \}}
\DoxyCodeLine{00381\ }
\DoxyCodeLine{00387\ UIKIT\_EXTERN\ CLLocationCoordinate2D\ \mbox{\hyperlink{_b_m_k_geometry_8h_ac75142905f8c4cd5e3bf63e2b01f5b06}{BMKCoorDictionaryDecode}}(NSDictionary*\ dictionary);}
\DoxyCodeLine{00388\ }
\DoxyCodeLine{00393\ UIKIT\_EXTERN\ \mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMapRect}}\ \mbox{\hyperlink{_b_m_k_geometry_8h_abf336e6dffedb11e4defd74aa14babe5}{BMKMapRectFromEncodedGeoPoints}}(NSString\ *encodedGeoPoints,\ BMKEncodePointType\ type);}
\DoxyCodeLine{00394\ }
\DoxyCodeLine{00400\ UIKIT\_EXTERN\ BOOL\ \mbox{\hyperlink{_b_m_k_geometry_8h_a66e54a2d4e52a6a4f2d3f6651c52084f}{BMKEncodedGeoPointsContainsPoint}}(\mbox{\hyperlink{struct_b_m_k_map_point}{BMKMapPoint}}\ point,}
\DoxyCodeLine{00401\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ NSString\ *encodedGeoPoints,}
\DoxyCodeLine{00402\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ BMKEncodePointType\ type);}
\DoxyCodeLine{00403\ }
\DoxyCodeLine{00409\ UIKIT\_EXTERN\ BOOL\ \mbox{\hyperlink{_b_m_k_geometry_8h_af2166d9c0e5a437deb092c746e112206}{BMKEncodedGeoPointsContainsCoordinate}}(CLLocationCoordinate2D\ point,}
\DoxyCodeLine{00410\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ NSString\ *encodedGeoPoints,}
\DoxyCodeLine{00411\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ BMKEncodePointType\ type);}
\DoxyCodeLine{00412\ }
\DoxyCodeLine{00414\ \textcolor{keyword}{@interface\ }NSValue\ (BMKGeometryExtension)}
\DoxyCodeLine{00415\ }
\DoxyCodeLine{00419\ +\ (NSValue\ *)valueWithBMKMapPoint:(\mbox{\hyperlink{struct_b_m_k_map_point}{BMKMapPoint}})mapPoint;}
\DoxyCodeLine{00420\ }
\DoxyCodeLine{00424\ +\ (NSValue\ *)valueWithBMKMapSize:(\mbox{\hyperlink{struct_b_m_k_map_size}{BMKMapSize}})mapSize;}
\DoxyCodeLine{00425\ }
\DoxyCodeLine{00429\ +\ (NSValue\ *)valueWithBMKMapRect:(\mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMapRect}})mapRect;}
\DoxyCodeLine{00430\ }
\DoxyCodeLine{00434\ +\ (NSValue\ *)valueWithCoordinate2D:(CLLocationCoordinate2D)coordinate;}
\DoxyCodeLine{00435\ }
\DoxyCodeLine{00436\ }
\DoxyCodeLine{00439\ -\/\ (\mbox{\hyperlink{struct_b_m_k_map_point}{BMKMapPoint}})\mbox{\hyperlink{category_n_s_value_07_b_m_k_geometry_extension_08_af8d40b5b340898ee818ca8e904accd2e}{BMKMapPointValue}};}
\DoxyCodeLine{00440\ }
\DoxyCodeLine{00443\ -\/\ (\mbox{\hyperlink{struct_b_m_k_map_size}{BMKMapSize}})\mbox{\hyperlink{category_n_s_value_07_b_m_k_geometry_extension_08_a842b435ee73cd00c30d1d847e2dcf723}{BMKMapSizeValue}};}
\DoxyCodeLine{00444\ }
\DoxyCodeLine{00447\ -\/\ (\mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMapRect}})\mbox{\hyperlink{category_n_s_value_07_b_m_k_geometry_extension_08_a7d254cf117baa4b3de2b19bb9ad93b1a}{BMKMapRectValue}};}
\DoxyCodeLine{00448\ }
\DoxyCodeLine{00451\ -\/\ (CLLocationCoordinate2D)\mbox{\hyperlink{category_n_s_value_07_b_m_k_geometry_extension_08_a53ea92c7119f72a09e83ed14df4c8c86}{Coordinate2DValue}};}
\DoxyCodeLine{00452\ }
\DoxyCodeLine{00453\ \textcolor{keyword}{@end}}

\end{DoxyCode}
