\doxysection{BMKCircle类 参考}
\hypertarget{interface_b_m_k_circle}{}\label{interface_b_m_k_circle}\index{BMKCircle@{BMKCircle}}


该类用于定义一个圆  




{\ttfamily \#include $<$BMKCircle.\+h$>$}

类 BMKCircle 继承关系图\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.702479cm]{interface_b_m_k_circle}
\end{center}
\end{figure}
\doxysubsubsection*{构造函数}
\begin{DoxyCompactItemize}
\item 
(BOOL) -\/ \mbox{\hyperlink{interface_b_m_k_circle_a391e20e4faf6acfcc756241a428a3bda}{set\+Circle\+With\+Center\+Coordinate\+:radius\+:}}
\item 
(BOOL) -\/ \mbox{\hyperlink{interface_b_m_k_circle_af7e1989427e64eef9e6fd43459c867ea}{set\+Circle\+With\+Map\+Rect\+:}}
\end{DoxyCompactItemize}
\doxysubsection*{构造函数 继承自 \mbox{\hyperlink{protocol_b_m_k_annotation-p}{$<$\+BMKAnnotation$>$}}}
\begin{DoxyCompactItemize}
\item 
(NSString \texorpdfstring{$\ast$}{*}) -\/ \mbox{\hyperlink{protocol_b_m_k_annotation-p_a249e1b880f8ded8541a0fe59ef4abb12}{title}}
\begin{DoxyCompactList}\small\item\em 获取annotation标题 \end{DoxyCompactList}\item 
(NSString \texorpdfstring{$\ast$}{*}) -\/ \mbox{\hyperlink{protocol_b_m_k_annotation-p_a62aea71f4631251330e8a6fc3d3bdf11}{subtitle}}
\begin{DoxyCompactList}\small\item\em 获取annotation副标题 \end{DoxyCompactList}\item 
(void) -\/ \mbox{\hyperlink{protocol_b_m_k_annotation-p_a86db1788af78d273e1e155d3aa3d978f}{set\+Coordinate\+:}}
\end{DoxyCompactItemize}
\doxysubsection*{构造函数 继承自 \mbox{\hyperlink{protocol_b_m_k_overlay-p}{$<$\+BMKOverlay$>$}}}
\begin{DoxyCompactItemize}
\item 
(BOOL) -\/ \mbox{\hyperlink{protocol_b_m_k_overlay-p_ad89c522da656c2a977b87bdc1cc4bf21}{intersects\+Map\+Rect\+:}}
\end{DoxyCompactItemize}
\doxysubsubsection*{类方法}
\begin{DoxyCompactItemize}
\item 
(nullable instancetype) + \mbox{\hyperlink{interface_b_m_k_circle_af2b6facf19e7dd8b01ecaa510b32697b}{circle\+With\+Center\+Coordinate\+:radius\+:}}
\item 
(nullable instancetype) + \mbox{\hyperlink{interface_b_m_k_circle_a25968ef2c398831bfd88831f7150958b}{circle\+With\+Map\+Rect\+:}}
\end{DoxyCompactItemize}
\doxysubsubsection*{Protected 属性}
\begin{DoxyCompactItemize}
\item 
package BOOL \mbox{\hyperlink{interface_b_m_k_circle_a2dffabfbaa1ac6642adc5a475d6ee453}{\+\_\+invalidate}}
\item 
CLLocation\+Coordinate2D \mbox{\hyperlink{interface_b_m_k_circle_abdd404f22d461b81d8d4d203778cee58}{\+\_\+coordinate}}
\item 
CLLocation\+Distance \mbox{\hyperlink{interface_b_m_k_circle_a84860dbbaa96509cfa4c7590908aabe8}{\+\_\+radius}}
\item 
\mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMap\+Rect}} \mbox{\hyperlink{interface_b_m_k_circle_abfa42e25c856dd426fb74b9531e1061b}{\+\_\+bounding\+Map\+Rect}}
\end{DoxyCompactItemize}
\doxysubsubsection*{属性}
\begin{DoxyCompactItemize}
\item 
CLLocation\+Coordinate2D \mbox{\hyperlink{interface_b_m_k_circle_a1c516c10dec1971c686e07f814f333f9}{coordinate}}
\begin{DoxyCompactList}\small\item\em 中心点坐标 \end{DoxyCompactList}\item 
CLLocation\+Distance \mbox{\hyperlink{interface_b_m_k_circle_a42507e4c17b4a1c1309fcbe06e370bf5}{radius}}
\begin{DoxyCompactList}\small\item\em 半径，单位：米 \end{DoxyCompactList}\item 
\mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMap\+Rect}} \mbox{\hyperlink{interface_b_m_k_circle_a462a1696e47b1523dd481b22d43bcf46}{bounding\+Map\+Rect}}
\begin{DoxyCompactList}\small\item\em 该圆的外接矩形 \end{DoxyCompactList}\item 
NSArray$<$ id$<$ \mbox{\hyperlink{protocol_b_m_k_overlay-p}{BMKOverlay}} $>$ $>$ \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{interface_b_m_k_circle_aca35310b0da806c2db87decb03ee0ece}{hollow\+Shapes}}
\end{DoxyCompactItemize}
\doxysubsection*{属性 继承自 \mbox{\hyperlink{interface_b_m_k_shape}{BMKShape}}}
\begin{DoxyCompactItemize}
\item 
NSString \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{interface_b_m_k_shape_a64da6d2885114c0c2da35aa1ffec925d}{title}}
\begin{DoxyCompactList}\small\item\em 要显示的标题；注意：如果不设置title,无法点击annotation,也无法使用回调函数； \end{DoxyCompactList}\item 
NSString \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{interface_b_m_k_shape_ae588ba39a27b52bcaed14d40e6494398}{subtitle}}
\begin{DoxyCompactList}\small\item\em 要显示的副标题 \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{属性 继承自 \mbox{\hyperlink{protocol_b_m_k_annotation-p}{$<$\+BMKAnnotation$>$}}}
\begin{DoxyCompactItemize}
\item 
CLLocation\+Coordinate2D \mbox{\hyperlink{protocol_b_m_k_annotation-p_ab7ed7fd80fc518acf82cf0048490f9be}{coordinate}}
\begin{DoxyCompactList}\small\item\em 标注view中心坐标. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{属性 继承自 \mbox{\hyperlink{protocol_b_m_k_overlay-p}{$<$\+BMKOverlay$>$}}}
\begin{DoxyCompactItemize}
\item 
CLLocation\+Coordinate2D \mbox{\hyperlink{protocol_b_m_k_overlay-p_a7a10d9dde65c9611e3b5279179a9d480}{coordinate}}
\begin{DoxyCompactList}\small\item\em 返回区域中心坐标. \end{DoxyCompactList}\item 
\mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMap\+Rect}} \mbox{\hyperlink{protocol_b_m_k_overlay-p_a77465daa9e52be51cc5aa15591ab74f0}{bounding\+Map\+Rect}}
\begin{DoxyCompactList}\small\item\em 返回区域外接矩形 \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{详细描述}
该类用于定义一个圆 

\doxysubsection{函数文档}
\Hypertarget{interface_b_m_k_circle_af2b6facf19e7dd8b01ecaa510b32697b}\label{interface_b_m_k_circle_af2b6facf19e7dd8b01ecaa510b32697b} 
\index{BMKCircle@{BMKCircle}!circleWithCenterCoordinate:radius:@{circleWithCenterCoordinate:radius:}}
\index{circleWithCenterCoordinate:radius:@{circleWithCenterCoordinate:radius:}!BMKCircle@{BMKCircle}}
\doxysubsubsection{\texorpdfstring{circleWithCenterCoordinate:radius:}{circleWithCenterCoordinate:radius:}}
{\footnotesize\ttfamily + (nullable instancetype) circle\+With\+Center\+Coordinate\+: \begin{DoxyParamCaption}\item[{(CLLocation\+Coordinate2D)}]{coord }\item[{radius\+:(CLLocation\+Distance)}]{radius }\end{DoxyParamCaption}}

根据中心点和半径生成圆 
\begin{DoxyParams}{参数}
{\em coord} & 中心点的经纬度坐标 \\
\hline
{\em radius} & 半径，单位：米 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
新生成的圆 
\end{DoxyReturn}
\Hypertarget{interface_b_m_k_circle_a25968ef2c398831bfd88831f7150958b}\label{interface_b_m_k_circle_a25968ef2c398831bfd88831f7150958b} 
\index{BMKCircle@{BMKCircle}!circleWithMapRect:@{circleWithMapRect:}}
\index{circleWithMapRect:@{circleWithMapRect:}!BMKCircle@{BMKCircle}}
\doxysubsubsection{\texorpdfstring{circleWithMapRect:}{circleWithMapRect:}}
{\footnotesize\ttfamily + (nullable instancetype) circle\+With\+Map\+Rect\+: \begin{DoxyParamCaption}\item[{(\mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMap\+Rect}})}]{map\+Rect }\end{DoxyParamCaption}}

根据指定的直角坐标矩形生成圆，半径由较长的那条边决定，radius = MAX(width, height)/2 
\begin{DoxyParams}{参数}
{\em map\+Rect} & 指定的直角坐标矩形 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
新生成的圆 
\end{DoxyReturn}
\Hypertarget{interface_b_m_k_circle_a391e20e4faf6acfcc756241a428a3bda}\label{interface_b_m_k_circle_a391e20e4faf6acfcc756241a428a3bda} 
\index{BMKCircle@{BMKCircle}!setCircleWithCenterCoordinate:radius:@{setCircleWithCenterCoordinate:radius:}}
\index{setCircleWithCenterCoordinate:radius:@{setCircleWithCenterCoordinate:radius:}!BMKCircle@{BMKCircle}}
\doxysubsubsection{\texorpdfstring{setCircleWithCenterCoordinate:radius:}{setCircleWithCenterCoordinate:radius:}}
{\footnotesize\ttfamily -\/ (BOOL) set\+Circle\+With\+Center\+Coordinate\+: \begin{DoxyParamCaption}\item[{(CLLocation\+Coordinate2D)}]{coord }\item[{radius\+:(CLLocation\+Distance)}]{radius }\end{DoxyParamCaption}}

设置圆的中心点和半径 
\begin{DoxyParams}{参数}
{\em coord} & 中心点的经纬度坐标 \\
\hline
{\em radius} & 半径，单位：米 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
是否设置成功 
\end{DoxyReturn}
\Hypertarget{interface_b_m_k_circle_af7e1989427e64eef9e6fd43459c867ea}\label{interface_b_m_k_circle_af7e1989427e64eef9e6fd43459c867ea} 
\index{BMKCircle@{BMKCircle}!setCircleWithMapRect:@{setCircleWithMapRect:}}
\index{setCircleWithMapRect:@{setCircleWithMapRect:}!BMKCircle@{BMKCircle}}
\doxysubsubsection{\texorpdfstring{setCircleWithMapRect:}{setCircleWithMapRect:}}
{\footnotesize\ttfamily -\/ (BOOL) set\+Circle\+With\+Map\+Rect\+: \begin{DoxyParamCaption}\item[{(\mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMap\+Rect}})}]{map\+Rect }\end{DoxyParamCaption}}

根据指定的直角坐标矩形设置圆，半径由较长的那条边决定，radius = MAX(width, height)/2 
\begin{DoxyParams}{参数}
{\em map\+Rect} & 指定的直角坐标矩形 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
是否设置成功 
\end{DoxyReturn}


\doxysubsection{类成员变量说明}
\Hypertarget{interface_b_m_k_circle_abfa42e25c856dd426fb74b9531e1061b}\label{interface_b_m_k_circle_abfa42e25c856dd426fb74b9531e1061b} 
\index{BMKCircle@{BMKCircle}!\_boundingMapRect@{\_boundingMapRect}}
\index{\_boundingMapRect@{\_boundingMapRect}!BMKCircle@{BMKCircle}}
\doxysubsubsection{\texorpdfstring{\_boundingMapRect}{\_boundingMapRect}}
{\footnotesize\ttfamily -\/ (\mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMap\+Rect}}) \+\_\+bounding\+Map\+Rect\hspace{0.3cm}{\ttfamily [protected]}}

\Hypertarget{interface_b_m_k_circle_abdd404f22d461b81d8d4d203778cee58}\label{interface_b_m_k_circle_abdd404f22d461b81d8d4d203778cee58} 
\index{BMKCircle@{BMKCircle}!\_coordinate@{\_coordinate}}
\index{\_coordinate@{\_coordinate}!BMKCircle@{BMKCircle}}
\doxysubsubsection{\texorpdfstring{\_coordinate}{\_coordinate}}
{\footnotesize\ttfamily -\/ (CLLocation\+Coordinate2D) \+\_\+coordinate\hspace{0.3cm}{\ttfamily [protected]}}

\Hypertarget{interface_b_m_k_circle_a2dffabfbaa1ac6642adc5a475d6ee453}\label{interface_b_m_k_circle_a2dffabfbaa1ac6642adc5a475d6ee453} 
\index{BMKCircle@{BMKCircle}!\_invalidate@{\_invalidate}}
\index{\_invalidate@{\_invalidate}!BMKCircle@{BMKCircle}}
\doxysubsubsection{\texorpdfstring{\_invalidate}{\_invalidate}}
{\footnotesize\ttfamily -\/ (package BOOL) \+\_\+invalidate\hspace{0.3cm}{\ttfamily [protected]}}

\Hypertarget{interface_b_m_k_circle_a84860dbbaa96509cfa4c7590908aabe8}\label{interface_b_m_k_circle_a84860dbbaa96509cfa4c7590908aabe8} 
\index{BMKCircle@{BMKCircle}!\_radius@{\_radius}}
\index{\_radius@{\_radius}!BMKCircle@{BMKCircle}}
\doxysubsubsection{\texorpdfstring{\_radius}{\_radius}}
{\footnotesize\ttfamily -\/ (CLLocation\+Distance) \+\_\+radius\hspace{0.3cm}{\ttfamily [protected]}}



\doxysubsection{属性说明}
\Hypertarget{interface_b_m_k_circle_a462a1696e47b1523dd481b22d43bcf46}\label{interface_b_m_k_circle_a462a1696e47b1523dd481b22d43bcf46} 
\index{BMKCircle@{BMKCircle}!boundingMapRect@{boundingMapRect}}
\index{boundingMapRect@{boundingMapRect}!BMKCircle@{BMKCircle}}
\doxysubsubsection{\texorpdfstring{boundingMapRect}{boundingMapRect}}
{\footnotesize\ttfamily -\/ (\mbox{\hyperlink{struct_b_m_k_map_rect}{BMKMap\+Rect}}) bounding\+Map\+Rect\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



该圆的外接矩形 

\Hypertarget{interface_b_m_k_circle_a1c516c10dec1971c686e07f814f333f9}\label{interface_b_m_k_circle_a1c516c10dec1971c686e07f814f333f9} 
\index{BMKCircle@{BMKCircle}!coordinate@{coordinate}}
\index{coordinate@{coordinate}!BMKCircle@{BMKCircle}}
\doxysubsubsection{\texorpdfstring{coordinate}{coordinate}}
{\footnotesize\ttfamily -\/ (CLLocation\+Coordinate2D) coordinate\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



中心点坐标 

\Hypertarget{interface_b_m_k_circle_aca35310b0da806c2db87decb03ee0ece}\label{interface_b_m_k_circle_aca35310b0da806c2db87decb03ee0ece} 
\index{BMKCircle@{BMKCircle}!hollowShapes@{hollowShapes}}
\index{hollowShapes@{hollowShapes}!BMKCircle@{BMKCircle}}
\doxysubsubsection{\texorpdfstring{hollowShapes}{hollowShapes}}
{\footnotesize\ttfamily -\/ (NSArray$<$id $<$\mbox{\hyperlink{protocol_b_m_k_overlay-p}{BMKOverlay}}$>$ $>$\texorpdfstring{$\ast$}{*}) hollow\+Shapes\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [copy]}}

注意：圆的\+BMKPolgon类型镂空形状点应为逆时针 设置中空区域，用来创建中间带空洞的复杂图形。注意：传入的overlay只支持\+BMKPolgon类型和\+BMKCircle类型. since 5.\+0.\+0 \Hypertarget{interface_b_m_k_circle_a42507e4c17b4a1c1309fcbe06e370bf5}\label{interface_b_m_k_circle_a42507e4c17b4a1c1309fcbe06e370bf5} 
\index{BMKCircle@{BMKCircle}!radius@{radius}}
\index{radius@{radius}!BMKCircle@{BMKCircle}}
\doxysubsubsection{\texorpdfstring{radius}{radius}}
{\footnotesize\ttfamily -\/ (CLLocation\+Distance) radius\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



半径，单位：米 



该类的文档由以下文件生成\+:\begin{DoxyCompactItemize}
\item 
Baidu\+Map\+API\+\_\+\+Map.\+framework/\+Headers/\mbox{\hyperlink{_b_m_k_circle_8h}{BMKCircle.\+h}}\end{DoxyCompactItemize}
