{"id":3491,"date":"2018-04-19T10:21:54","date_gmt":"2018-04-19T01:21:54","guid":{"rendered":"http:\/\/www.ois-yokohama.co.jp\/oisblog\/?p=3491"},"modified":"2019-01-11T19:41:39","modified_gmt":"2019-01-11T10:41:39","slug":"%e3%82%bd%e3%83%95%e3%83%88%e3%82%a6%e3%82%a7%e3%82%a2%e9%96%8b%e7%99%ba%e3%81%ab%e3%81%8a%e3%81%91%e3%82%8b%e6%95%b0%e5%ad%a6%e7%9a%84%e3%81%aa%e8%a8%88%e7%ae%97%e5%87%a6%e7%90%86","status":"publish","type":"post","link":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/archives\/3491","title":{"rendered":"\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u958b\u767a\u306b\u304a\u3051\u308b\u6570\u5b66\u7684\u306a\u8a08\u7b97\u51e6\u7406"},"content":{"rendered":"<div class=\"veu_autoEyeCatchBox\"><img loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"427\" src=\"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-content\/uploads\/2018\/04\/dde02119a3ac430804060d61707eed14_s.jpg\" class=\"attachment-large size-large wp-post-image\" alt=\"\" srcset=\"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-content\/uploads\/2018\/04\/dde02119a3ac430804060d61707eed14_s.jpg 640w, https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-content\/uploads\/2018\/04\/dde02119a3ac430804060d61707eed14_s-300x200.jpg 300w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/div>\n<p>\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3092\u958b\u767a\u3059\u308b\u306b\u3042\u305f\u308a\u3001<br \/>\n<strong>\u6570\u5b66\u7684\u306a\u8a08\u7b97\u51e6\u7406<\/strong>\u306f\u7121\u304f\u3066\u306f\u306a\u3089\u306a\u3044\u3082\u306e\u3067\u3059\u3002<br \/>\n\u7279\u306b\u30b0\u30e9\u30d5\u30a3\u30c3\u30af\u30b9\u30fb\u753b\u50cf\u51e6\u7406\u306a\u3069\u3067\u306f\u3001\u305d\u308c\u7121\u3057\u306b\u306f\u8a9e\u308c\u306a\u3044\u307b\u3069\u91cd\u8981\u306a\u3082\u306e<br \/>\n\u3060\u3063\u305f\u308a\u3057\u307e\u3059\u3002<br \/>\n\uff08\u3082\u3061\u308d\u3093\u4ed6\u306b\u3082\u6570\u5b66\u7684\u306a\u8a08\u7b97\u304c\u5fc5\u8981\u306a\u30b1\u30fc\u30b9\u306f\u5c71\u307b\u3069\u3042\u308a\u307e\u3059\uff09<\/p>\n<p>\u6628\u4eca\u3067\u306f<br \/>\nUI\uff08\u30e6\u30fc\u30b6\u30fc\u30a4\u30f3\u30bf\u30d5\u30a7\u30fc\u30b9\uff09\u306e\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u304c\u305d\u308c\u3089\u306e\u51e6\u7406\u3092\u5185\u90e8\u7684\u306b\u884c\u3063\u3066\u304f\u308c\u308b\u3053\u3068\u304c\u5897\u3048\u305f\u306e\u3067\u3001\u4e00\u822c\u7684\u306a\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u958b\u767a\u8005\u306b\u306f\u3042\u307e\u308a\u99b4\u67d3\u307f\u304c\u7121\u304b\u3063\u305f\u308a\u3059\u308b\u5834\u5408\u3082\u3042\u308a\u307e\u3059\u304c\u3001<br \/>\n\u3061\u3087\u3063\u3068\u5909\u5247\u7684\u306a\u3053\u3068\u3092\u5b9f\u73fe\u3057\u305f\u304b\u3063\u305f\u308a\u3001\u7d30\u304b\u3044\u30e6\u30fc\u30b6\u30fc\u30cb\u30fc\u30ba\u306b\u5fdc\u3048\u305f\u3044\u6642\u306b<br \/>\n\u3069\u3046\u3057\u3066\u3082\u6570\u5b66\u7684\u306a\u3053\u3068\u3092\u8003\u3048\u3056\u308b\u3092\u5f97\u306a\u304f\u306a\u308b\u3053\u3068\u306f\u305d\u308c\u7a0b\u73cd\u3057\u3044\u3053\u3068\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-3496 size-full\" src=\"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-content\/uploads\/2018\/04\/dde02119a3ac430804060d61707eed14_s.jpg\" alt=\"dde02119a3ac430804060d61707eed14_s\" width=\"640\" height=\"427\" srcset=\"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-content\/uploads\/2018\/04\/dde02119a3ac430804060d61707eed14_s.jpg 640w, https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-content\/uploads\/2018\/04\/dde02119a3ac430804060d61707eed14_s-300x200.jpg 300w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><br \/>\n\u4eca\u65e5\u306f\u3001\u7c21\u5358\u306b\u4f7f\u3048\u3066\u305d\u308c\u306a\u308a\u306b\u5fdc\u7528\u7bc4\u56f2\u306e\u5e83\u3044\u30b7\u30f3\u30d7\u30eb\u306a\u8a08\u7b97\u51e6\u7406\u3092\u7d39\u4ecb\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<br \/>\n\u3069\u308c\u3082\u6570\u5b66\u7684\u306b\u306f\u7406\u89e3\u3057\u3084\u3059\u3044\u90e8\u985e\u306b\u5165\u308b\u304b\u3068\u601d\u3044\u307e\u3059\u3002<br \/>\n\u8a00\u8a9e\u306fC#\u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u305d\u308c\u305e\u308c\u306e\u8a00\u8a9e\u306b\u8aad\u307f\u66ff\u3048\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h3>\uff08\uff11\uff09\u8ddd\u96e2\u3092\u8a08\u7b97\u3059\u308b\uff08\u30d4\u30bf\u30b4\u30e9\u30b9\u306e\u5b9a\u7406\u3092\u4f7f\u7528\uff09<\/h3>\n<pre class=\"lang:default highlight:0 decode:true\">double Distance(Point a, Point b)\r\n{\r\n    var xDistance = b.X - a.X;\r\n    var yDistance = b.Y - a.Y;\r\n    return Math.Sqrt((xDistance * xDistance) + (yDistance * yDistance));\r\n}<\/pre>\n<p>[\u5fdc\u7528\u4f8b]<br \/>\n\u30fb\u76f4\u7dda\u3092\u7e4b\u3044\u3067\u8868\u73fe\u3055\u308c\u305f\u7591\u4f3c\u7684\u306a\u66f2\u7dda\u306e\u9577\u3055\u3092\u6c42\u3081\u308b<br \/>\n\u30fb2\u3064\u306e\u7269\u4f53\u306e\u5f53\u305f\u308a\u5224\u5b9a<\/p>\n<h3>\uff08\uff12\uff092\u70b9\u9593\u306e\u4efb\u610f\u306e\u4e2d\u9593\u5730\u70b9\u3092\u8a08\u7b97\u3059\u308b\uff08\u7dda\u5f62\u88dc\u9593\uff09<\/h3>\n<pre class=\"lang:default highlight:0 decode:true \">Point InterpolatedPoint(Point a, Point b, double t)\r\n{\r\n    var xDistance = b.X - a.X;\r\n    var yDistance = b.Y - a.Y;\r\n    return new Point(a.X + (xDistance * t), a.Y + (yDistance * t));\r\n    \/\/ \"t\"\u306f\u88dc\u9593\u4fc2\u6570\u30020\uff5e1\u306e\u7bc4\u56f2\u3067\u30011\u306b\u8fd1\u4ed8\u304f\u307b\u3069\u9802\u70b9b\u306e\u5ea7\u6a19\u306b\u8fd1\u4ed8\u304f\r\n}<\/pre>\n<p>[\u5fdc\u7528\u4f8b]<br \/>\n\u30fb\u6298\u308c\u7dda\u30b0\u30e9\u30d5\u306e\u30c7\u30fc\u30bf1\u3068\u30c7\u30fc\u30bf2\u306e\u4e2d\u9593\u5024\u3092\u6c42\u3081\u308b<br \/>\n\u30fb\u76f4\u7ddaab\u3092\u8907\u6570\u306e\u76f4\u7dda\u306b\u5206\u5272\u3059\u308b<\/p>\n<h3>\uff08\uff13\uff09\u76f4\u7dda\u306e\u89d2\u5ea6\u3092\u8a08\u7b97\u3059\u308b<\/h3>\n<pre class=\"lang:default highlight:0 decode:true \">double VectorDirection(Point a, Point b)\r\n{\r\n    var width = b.X - a.X;\r\n    var height = b.Y - a.Y;\r\n    var angle = Math.Atan2(height, width) * 180.0 \/ Math.PI;\r\n    var result = (angle &lt; 0.0) ? (360.0 + angle) : angle;\r\n    return result;\r\n    \/\/ \u6642\u8a08\u56de\u308a\u306b0\u4ee5\u4e0a360\u672a\u6e80\u306e\u5024\r\n}<\/pre>\n<p>[\u5fdc\u7528\u4f8b]<br \/>\n\u30fb\u66f2\u7dda\u306e\u304a\u304a\u3088\u305d\u306e\u5411\u304d\u3092\u8a08\u7b97\u3059\u308b<\/p>\n<p>\u4e0a\u8a18\u3067\u7d39\u4ecb\u3057\u305f\u8a08\u7b97\u51e6\u7406\u306f<br \/>\n\u6570\u5b66\u7684\u306a\u51e6\u7406\u306e\u5165\u308a\u53e3\u306e\u3088\u3046\u306a\u57fa\u790e\u7684\u306a\u3082\u306e\u3070\u304b\u308a\u3067\u3059\u3002<br \/>\n\u3053\u308c\u3089\u3092\u7d44\u307f\u5408\u308f\u305b\u308b\u3060\u3051\u3067\u3082\u5b9f\u306b\u69d8\u3005\u306a\u3053\u3068\u304c\u5b9f\u73fe\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u4e8b\u5b9f\u3001\u3053\u308c\uff0b\u03b1\u306e\u6570\u5b66\u7684\u77e5\u8b58\u3060\u3051\u3067\u96e3\u3057\u3044\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u958b\u767a\u3092\u4e57\u308a\u5207\u3063\u305f<br \/>\n\u3053\u3068\u3082\u3042\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>\u982d\u306e\u4f53\u64cd\u306b\u3001\u4ed6\u306b\u3069\u3093\u306a\u51e6\u7406\u304c\u3042\u308b\u304b\u3092\u8abf\u3079\u3066\u307f\u308b\u306e\u3082\u826f\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u306d\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-3495 size-full\" src=\"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-content\/uploads\/2018\/04\/pic_g186.jpg\" alt=\"pic_g186\" width=\"645\" height=\"430\" srcset=\"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-content\/uploads\/2018\/04\/pic_g186.jpg 645w, https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-content\/uploads\/2018\/04\/pic_g186-300x200.jpg 300w\" sizes=\"auto, (max-width: 645px) 100vw, 645px\" \/><\/p>\n<p style=\"color: #666666;\">\u30db\u30fc\u30e0\u30da\u30fc\u30b8\u3000<a style=\"color: #000000;\" href=\"http:\/\/www.ois-yokohama.co.jp\/\" target=\"_blank\" rel=\"noopener\"><span style=\"color: #000000;\">http:\/\/www.ois-yokohama.co.jp<\/span><\/a><\/p>\n<p style=\"color: #666666;\">facebook\u3000\u3000\u3000<a style=\"color: #000000;\" href=\"https:\/\/www.facebook.com\/orientalinformationservice\/\" target=\"_blank\" rel=\"noopener\"><span style=\"color: #000000;\">https:\/\/www.facebook.com\/orientalinformationservice\/<\/span><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3092\u958b\u767a\u3059\u308b\u306b\u3042\u305f\u308a\u3001 \u6570\u5b66\u7684\u306a\u8a08\u7b97\u51e6\u7406\u306f\u7121\u304f\u3066\u306f\u306a\u3089\u306a\u3044\u3082\u306e\u3067\u3059\u3002 \u7279\u306b\u30b0\u30e9\u30d5\u30a3\u30c3\u30af\u30b9\u30fb\u753b\u50cf\u51e6\u7406\u306a\u3069\u3067\u306f\u3001\u305d\u308c\u7121\u3057\u306b\u306f\u8a9e\u308c\u306a\u3044\u307b\u3069\u91cd\u8981\u306a\u3082\u306e \u3060\u3063\u305f\u308a\u3057\u307e\u3059\u3002 \uff08\u3082\u3061\u308d\u3093\u4ed6\u306b\u3082\u6570\u5b66\u7684\u306a\u8a08\u7b97\u304c\u5fc5\u8981\u306a\u30b1\u30fc\u30b9\u306f\u5c71\u307b [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":3496,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"vkexunit_cta_each_option":"","footnotes":""},"categories":[6],"tags":[137,506,507,508],"class_list":["post-3491","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-engineer","tag-137","tag-506","tag-507","tag-508"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-json\/wp\/v2\/posts\/3491","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-json\/wp\/v2\/comments?post=3491"}],"version-history":[{"count":2,"href":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-json\/wp\/v2\/posts\/3491\/revisions"}],"predecessor-version":[{"id":5833,"href":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-json\/wp\/v2\/posts\/3491\/revisions\/5833"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-json\/wp\/v2\/media\/3496"}],"wp:attachment":[{"href":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-json\/wp\/v2\/media?parent=3491"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-json\/wp\/v2\/categories?post=3491"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-json\/wp\/v2\/tags?post=3491"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}