\hypertarget{interface_b_m_k_circle}{}\doxysection{B\+M\+K\+Circle类 参考}
\label{interface_b_m_k_circle}\index{BMKCircle@{BMKCircle}}


该类用于定义一个圆  




{\ttfamily \#import $<$B\+M\+K\+Circle.\+h$>$}

类 B\+M\+K\+Circle 继承关系图\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.702479cm]{interface_b_m_k_circle}
\end{center}
\end{figure}
\doxysubsection*{构造函数}
\begin{DoxyCompactItemize}
\item 
(B\+O\+OL) -\/ \mbox{\hyperlink{interface_b_m_k_circle_a391e20e4faf6acfcc756241a428a3bda}{set\+Circle\+With\+Center\+Coordinate\+:radius\+:}}
\item 
(B\+O\+OL) -\/ \mbox{\hyperlink{interface_b_m_k_circle_af7e1989427e64eef9e6fd43459c867ea}{set\+Circle\+With\+Map\+Rect\+:}}
\end{DoxyCompactItemize}
\doxysubsection*{类方法}
\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}
\doxysubsection*{Protected 属性}
\begin{DoxyCompactItemize}
\item 
package B\+O\+OL \mbox{\hyperlink{interface_b_m_k_circle_a2dffabfbaa1ac6642adc5a475d6ee453}{\+\_\+invalidate}}
\item 
C\+L\+Location\+Coordinate2D \mbox{\hyperlink{interface_b_m_k_circle_abdd404f22d461b81d8d4d203778cee58}{\+\_\+coordinate}}
\item 
C\+L\+Location\+Distance \mbox{\hyperlink{interface_b_m_k_circle_a84860dbbaa96509cfa4c7590908aabe8}{\+\_\+radius}}
\item 
\mbox{\hyperlink{struct_b_m_k_map_rect}{B\+M\+K\+Map\+Rect}} \mbox{\hyperlink{interface_b_m_k_circle_abfa42e25c856dd426fb74b9531e1061b}{\+\_\+bounding\+Map\+Rect}}
\end{DoxyCompactItemize}
\doxysubsection*{属性}
\begin{DoxyCompactItemize}
\item 
C\+L\+Location\+Coordinate2D \mbox{\hyperlink{interface_b_m_k_circle_a1c516c10dec1971c686e07f814f333f9}{coordinate}}
\begin{DoxyCompactList}\small\item\em 中心点坐标 \end{DoxyCompactList}\item 
C\+L\+Location\+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}{B\+M\+K\+Map\+Rect}} \mbox{\hyperlink{interface_b_m_k_circle_a462a1696e47b1523dd481b22d43bcf46}{bounding\+Map\+Rect}}
\begin{DoxyCompactList}\small\item\em 该圆的外接矩形 \end{DoxyCompactList}\item 
N\+S\+Array$<$ id$<$ \mbox{\hyperlink{protocol_b_m_k_overlay-p}{B\+M\+K\+Overlay}} $>$ $>$ $\ast$ \mbox{\hyperlink{interface_b_m_k_circle_aca35310b0da806c2db87decb03ee0ece}{hollow\+Shapes}}
\end{DoxyCompactItemize}


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

\doxysubsection{函数文档}
\mbox{\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[{(C\+L\+Location\+Coordinate2D)}]{coord }\item[{radius\+:(C\+L\+Location\+Distance)}]{radius }\end{DoxyParamCaption}}

根据中心点和半径生成圆 
\begin{DoxyParams}{参数}
{\em coord} & 中心点的经纬度坐标 \\
\hline
{\em radius} & 半径，单位：米 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
新生成的圆 
\end{DoxyReturn}
\mbox{\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}{B\+M\+K\+Map\+Rect}})}]{map\+Rect }\end{DoxyParamCaption}}

根据指定的直角坐标矩形生成圆，半径由较长的那条边决定，radius = M\+A\+X(width, height)/2 
\begin{DoxyParams}{参数}
{\em map\+Rect} & 指定的直角坐标矩形 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
新生成的圆 
\end{DoxyReturn}
\mbox{\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 -\/ (B\+O\+OL) set\+Circle\+With\+Center\+Coordinate\+: \begin{DoxyParamCaption}\item[{(C\+L\+Location\+Coordinate2D)}]{coord }\item[{radius\+:(C\+L\+Location\+Distance)}]{radius }\end{DoxyParamCaption}}

设置圆的中心点和半径 
\begin{DoxyParams}{参数}
{\em coord} & 中心点的经纬度坐标 \\
\hline
{\em radius} & 半径，单位：米 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
是否设置成功 
\end{DoxyReturn}
\mbox{\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 -\/ (B\+O\+OL) set\+Circle\+With\+Map\+Rect\+: \begin{DoxyParamCaption}\item[{(\mbox{\hyperlink{struct_b_m_k_map_rect}{B\+M\+K\+Map\+Rect}})}]{map\+Rect }\end{DoxyParamCaption}}

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


\doxysubsection{类成员变量说明}
\mbox{\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}{B\+M\+K\+Map\+Rect}}) \+\_\+bounding\+Map\+Rect\hspace{0.3cm}{\ttfamily [protected]}}

\mbox{\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 -\/ (C\+L\+Location\+Coordinate2D) \+\_\+coordinate\hspace{0.3cm}{\ttfamily [protected]}}

\mbox{\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 B\+O\+OL) \+\_\+invalidate\hspace{0.3cm}{\ttfamily [protected]}}

\mbox{\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 -\/ (C\+L\+Location\+Distance) \+\_\+radius\hspace{0.3cm}{\ttfamily [protected]}}



\doxysubsection{属性说明}
\mbox{\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}{B\+M\+K\+Map\+Rect}}) bounding\+Map\+Rect\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



该圆的外接矩形 

\mbox{\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 -\/ (C\+L\+Location\+Coordinate2D) coordinate\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



中心点坐标 

\mbox{\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 -\/ (N\+S\+Array$<$id $<$\mbox{\hyperlink{protocol_b_m_k_overlay-p}{B\+M\+K\+Overlay}}$>$ $>$$\ast$) hollow\+Shapes\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [copy]}}

注意：圆的\+B\+M\+K\+Polgon类型镂空形状点应为逆时针 设置中空区域，用来创建中间带空洞的复杂图形。注意：传入的overlay只支持\+B\+M\+K\+Polgon类型和\+B\+M\+K\+Circle类型. since 5.\+0.\+0 \mbox{\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 -\/ (C\+L\+Location\+Distance) radius\hspace{0.3cm}{\ttfamily [read]}, {\ttfamily [write]}, {\ttfamily [nonatomic]}, {\ttfamily [assign]}}



半径，单位：米 



该类的文档由以下文件生成\+:\begin{DoxyCompactItemize}
\item 
Baidu\+Map\+A\+P\+I\+\_\+\+Map.\+framework/\+Headers/\mbox{\hyperlink{_b_m_k_circle_8h}{B\+M\+K\+Circle.\+h}}\end{DoxyCompactItemize}
