{"id":320,"date":"2022-03-04T11:07:15","date_gmt":"2022-03-04T03:07:15","guid":{"rendered":"https:\/\/blog.iichen.cn\/?p=320"},"modified":"2022-03-04T11:07:15","modified_gmt":"2022-03-04T03:07:15","slug":"math-%e6%95%b0%e5%ad%a6%e8%ae%a1%e7%ae%97-%e6%a0%b9%e6%8d%ae%e5%bc%a7%e5%ba%a6%e8%ae%a1%e7%ae%97%e5%9c%86%e5%91%a8%e4%b8%8a%e7%82%b9%e7%9a%84%e5%9d%90%e6%a0%87%e7%9a%84%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/iichen.cn\/?p=320","title":{"rendered":"Math-\u6570\u5b66\u8ba1\u7b97-\u6839\u636e\u5f27\u5ea6\u8ba1\u7b97\u5706\u5468\u4e0a\u70b9\u7684\u5750\u6807\u7684\u65b9\u6cd5"},"content":{"rendered":"<h4>\u4e00\u3001\u8f6c\u6362<\/h4>\n<ul>\n<li>\u5706\u5468\u5206\u6210\u51e0\u4efd len<\/li>\n<li>len * pi \/ 180 = \u5f27\u5ea6<\/li>\n<li>\u4f7f\u7528\u5f27\u5ea6\u8ba1\u7b97\u5bf9\u5e94\u7684\u5750\u6807\u70b9\uff1a\u5982\u4e0b\u8ff0<\/li>\n<\/ul>\n<pre><code class=\"language-java line-numbers\">pi         180\n\u2014\u2014   *   \u2014\u2014  = 45\n4           pi\n\n            pi\n 45  *   \u2014\u2014  =  hd\n          180\n\n 360     pi\n \u2014\u2014  *  \u2014\u2014   = hd\n len    180\n<\/code><\/pre>\n<h4>\u4e8c\u3001\u8ba1\u7b97<\/h4>\n<h5>2.1 \u4ee5\u6b63\u4e1c\u9762\u4e3a0\u5ea6\u8d77\u70b9\u8ba1\u7b97\u6307\u5b9a\u89d2\u5ea6\u6240\u5bf9\u5e94\u7684\u5706\u5468\u4e0a\u7684\u70b9\u7684\u5750\u6807(\u6c34\u5e73\u53f3)<\/h5>\n<pre><code class=\"language-java line-numbers\">float radian = AngleToRadian(angle);\nfloat x = center.x + cos(radian)*currentAdius;\nfloat y = center.y + sin(radian)*currentAdius;\n<\/code><\/pre>\n<h5>2.2 \u4ee5\u6b63\u5317\u9762\u4e3a0\u5ea6\u8d77\u70b9\u8ba1\u7b97\u6307\u5b9a\u89d2\u5ea6\u6240\u5bf9\u5e94\u7684\u5706\u5468\u4e0a\u7684\u70b9\u7684\u5750\u6807(\u5782\u76f4\u4e0a)<\/h5>\n<pre><code class=\"language-java line-numbers\">float radian = AngleToRadian(angle); \nfloat x = center.x + sinf(radian)*currentAdius;\nfloat y = center.y - cosf(radian)*currentAdius;\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u4e00\u3001\u8f6c\u6362 \u5706\u5468\u5206\u6210\u51e0\u4efd len len * pi \/ 180 = \u5f27\u5ea6 \u4f7f\u7528\u5f27\u5ea6\u8ba1\u7b97\u5bf9\u5e94\u7684\u5750\u6807\u70b9\uff1a\u5982\u4e0b\u8ff0 pi [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14,8],"tags":[],"class_list":["post-320","post","type-post","status-publish","format-standard","hentry","category-math","category-8"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Math-\u6570\u5b66\u8ba1\u7b97-\u6839\u636e\u5f27\u5ea6\u8ba1\u7b97\u5706\u5468\u4e0a\u70b9\u7684\u5750\u6807\u7684\u65b9\u6cd5 - IIchen<\/title>\n<meta name=\"description\" content=\"\u6570\u5b66\u8ba1\u7b97-\u6839\u636e\u5f27\u5ea6\u8ba1\u7b97\u5706\u5468\u4e0a\u70b9\u7684\u5750\u6807\u7684\u65b9\u6cd5\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/iichen.cn\/?p=320\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Math-\u6570\u5b66\u8ba1\u7b97-\u6839\u636e\u5f27\u5ea6\u8ba1\u7b97\u5706\u5468\u4e0a\u70b9\u7684\u5750\u6807\u7684\u65b9\u6cd5 - IIchen\" \/>\n<meta property=\"og:description\" content=\"\u6570\u5b66\u8ba1\u7b97-\u6839\u636e\u5f27\u5ea6\u8ba1\u7b97\u5706\u5468\u4e0a\u70b9\u7684\u5750\u6807\u7684\u65b9\u6cd5\" \/>\n<meta property=\"og:url\" content=\"https:\/\/iichen.cn\/?p=320\" \/>\n<meta property=\"og:site_name\" content=\"IIchen\" \/>\n<meta property=\"article:published_time\" content=\"2022-03-04T03:07:15+00:00\" \/>\n<meta name=\"author\" content=\"iichen\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"iichen\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/iichen.cn\/?p=320#article\",\"isPartOf\":{\"@id\":\"https:\/\/iichen.cn\/?p=320\"},\"author\":{\"name\":\"iichen\",\"@id\":\"https:\/\/iichen.cn\/#\/schema\/person\/4a47edf85ab49841df9e8f6aee40b77c\"},\"headline\":\"Math-\u6570\u5b66\u8ba1\u7b97-\u6839\u636e\u5f27\u5ea6\u8ba1\u7b97\u5706\u5468\u4e0a\u70b9\u7684\u5750\u6807\u7684\u65b9\u6cd5\",\"datePublished\":\"2022-03-04T03:07:15+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/iichen.cn\/?p=320\"},\"wordCount\":5,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/iichen.cn\/#\/schema\/person\/4a47edf85ab49841df9e8f6aee40b77c\"},\"articleSection\":[\"Math\",\"\u7b14\u8bb0\"],\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/iichen.cn\/?p=320#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/iichen.cn\/?p=320\",\"url\":\"https:\/\/iichen.cn\/?p=320\",\"name\":\"Math-\u6570\u5b66\u8ba1\u7b97-\u6839\u636e\u5f27\u5ea6\u8ba1\u7b97\u5706\u5468\u4e0a\u70b9\u7684\u5750\u6807\u7684\u65b9\u6cd5 - IIchen\",\"isPartOf\":{\"@id\":\"https:\/\/iichen.cn\/#website\"},\"datePublished\":\"2022-03-04T03:07:15+00:00\",\"description\":\"\u6570\u5b66\u8ba1\u7b97-\u6839\u636e\u5f27\u5ea6\u8ba1\u7b97\u5706\u5468\u4e0a\u70b9\u7684\u5750\u6807\u7684\u65b9\u6cd5\",\"breadcrumb\":{\"@id\":\"https:\/\/iichen.cn\/?p=320#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/iichen.cn\/?p=320\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/iichen.cn\/?p=320#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/iichen.cn\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Math-\u6570\u5b66\u8ba1\u7b97-\u6839\u636e\u5f27\u5ea6\u8ba1\u7b97\u5706\u5468\u4e0a\u70b9\u7684\u5750\u6807\u7684\u65b9\u6cd5\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/iichen.cn\/#website\",\"url\":\"https:\/\/iichen.cn\/\",\"name\":\"IIchen\",\"description\":\"Just do it!\",\"publisher\":{\"@id\":\"https:\/\/iichen.cn\/#\/schema\/person\/4a47edf85ab49841df9e8f6aee40b77c\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/iichen.cn\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-Hans\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/iichen.cn\/#\/schema\/person\/4a47edf85ab49841df9e8f6aee40b77c\",\"name\":\"iichen\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/iichen.cn\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/iichen.cn\/wp-content\/uploads\/2025\/01\/avatar.jpg\",\"contentUrl\":\"https:\/\/iichen.cn\/wp-content\/uploads\/2025\/01\/avatar.jpg\",\"width\":940,\"height\":940,\"caption\":\"iichen\"},\"logo\":{\"@id\":\"https:\/\/iichen.cn\/#\/schema\/person\/image\/\"},\"sameAs\":[\"https:\/\/www.iichen.cn\"],\"url\":\"https:\/\/iichen.cn\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Math-\u6570\u5b66\u8ba1\u7b97-\u6839\u636e\u5f27\u5ea6\u8ba1\u7b97\u5706\u5468\u4e0a\u70b9\u7684\u5750\u6807\u7684\u65b9\u6cd5 - IIchen","description":"\u6570\u5b66\u8ba1\u7b97-\u6839\u636e\u5f27\u5ea6\u8ba1\u7b97\u5706\u5468\u4e0a\u70b9\u7684\u5750\u6807\u7684\u65b9\u6cd5","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/iichen.cn\/?p=320","og_locale":"zh_CN","og_type":"article","og_title":"Math-\u6570\u5b66\u8ba1\u7b97-\u6839\u636e\u5f27\u5ea6\u8ba1\u7b97\u5706\u5468\u4e0a\u70b9\u7684\u5750\u6807\u7684\u65b9\u6cd5 - IIchen","og_description":"\u6570\u5b66\u8ba1\u7b97-\u6839\u636e\u5f27\u5ea6\u8ba1\u7b97\u5706\u5468\u4e0a\u70b9\u7684\u5750\u6807\u7684\u65b9\u6cd5","og_url":"https:\/\/iichen.cn\/?p=320","og_site_name":"IIchen","article_published_time":"2022-03-04T03:07:15+00:00","author":"iichen","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"iichen","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/iichen.cn\/?p=320#article","isPartOf":{"@id":"https:\/\/iichen.cn\/?p=320"},"author":{"name":"iichen","@id":"https:\/\/iichen.cn\/#\/schema\/person\/4a47edf85ab49841df9e8f6aee40b77c"},"headline":"Math-\u6570\u5b66\u8ba1\u7b97-\u6839\u636e\u5f27\u5ea6\u8ba1\u7b97\u5706\u5468\u4e0a\u70b9\u7684\u5750\u6807\u7684\u65b9\u6cd5","datePublished":"2022-03-04T03:07:15+00:00","mainEntityOfPage":{"@id":"https:\/\/iichen.cn\/?p=320"},"wordCount":5,"commentCount":0,"publisher":{"@id":"https:\/\/iichen.cn\/#\/schema\/person\/4a47edf85ab49841df9e8f6aee40b77c"},"articleSection":["Math","\u7b14\u8bb0"],"inLanguage":"zh-Hans","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/iichen.cn\/?p=320#respond"]}]},{"@type":"WebPage","@id":"https:\/\/iichen.cn\/?p=320","url":"https:\/\/iichen.cn\/?p=320","name":"Math-\u6570\u5b66\u8ba1\u7b97-\u6839\u636e\u5f27\u5ea6\u8ba1\u7b97\u5706\u5468\u4e0a\u70b9\u7684\u5750\u6807\u7684\u65b9\u6cd5 - IIchen","isPartOf":{"@id":"https:\/\/iichen.cn\/#website"},"datePublished":"2022-03-04T03:07:15+00:00","description":"\u6570\u5b66\u8ba1\u7b97-\u6839\u636e\u5f27\u5ea6\u8ba1\u7b97\u5706\u5468\u4e0a\u70b9\u7684\u5750\u6807\u7684\u65b9\u6cd5","breadcrumb":{"@id":"https:\/\/iichen.cn\/?p=320#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/iichen.cn\/?p=320"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/iichen.cn\/?p=320#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/iichen.cn\/"},{"@type":"ListItem","position":2,"name":"Math-\u6570\u5b66\u8ba1\u7b97-\u6839\u636e\u5f27\u5ea6\u8ba1\u7b97\u5706\u5468\u4e0a\u70b9\u7684\u5750\u6807\u7684\u65b9\u6cd5"}]},{"@type":"WebSite","@id":"https:\/\/iichen.cn\/#website","url":"https:\/\/iichen.cn\/","name":"IIchen","description":"Just do it!","publisher":{"@id":"https:\/\/iichen.cn\/#\/schema\/person\/4a47edf85ab49841df9e8f6aee40b77c"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/iichen.cn\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-Hans"},{"@type":["Person","Organization"],"@id":"https:\/\/iichen.cn\/#\/schema\/person\/4a47edf85ab49841df9e8f6aee40b77c","name":"iichen","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/iichen.cn\/#\/schema\/person\/image\/","url":"https:\/\/iichen.cn\/wp-content\/uploads\/2025\/01\/avatar.jpg","contentUrl":"https:\/\/iichen.cn\/wp-content\/uploads\/2025\/01\/avatar.jpg","width":940,"height":940,"caption":"iichen"},"logo":{"@id":"https:\/\/iichen.cn\/#\/schema\/person\/image\/"},"sameAs":["https:\/\/www.iichen.cn"],"url":"https:\/\/iichen.cn\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/iichen.cn\/index.php?rest_route=\/wp\/v2\/posts\/320","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/iichen.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/iichen.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/iichen.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/iichen.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=320"}],"version-history":[{"count":0,"href":"https:\/\/iichen.cn\/index.php?rest_route=\/wp\/v2\/posts\/320\/revisions"}],"wp:attachment":[{"href":"https:\/\/iichen.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=320"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/iichen.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=320"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/iichen.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=320"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}