<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>pigshape</author_name>
  <author_url>https://blog.hatena.ne.jp/pigshape/</author_url>
  <blog_title>littlewing</blog_title>
  <blog_url>https://littlewing.hatenablog.com/</blog_url>
  <categories>
    <anon>unity</anon>
    <anon>opencv</anon>
    <anon>センシング/NUI</anon>
    <anon>俺のスニペット</anon>
  </categories>
  <description>空間上で複数の座標から球の中心と半径を求める必要があったので調べてみた。 球を特定するには最低4つの点が必要。 その1．全ての点が球の表面(外接)となる球を求める センサー値から回転軸を求める場合に使えるかも。（というかその為に考えた) gist.github.com その2．すべての点を内包する最小の球を求める 内包する場合は、一部の点は球の内側に存在する場合がある。 gist.github.com 両方とも自力では難しかったので、元ネタのコードをUnity/C#に移植しただけですが。 PSVR用収納ハードケースアクラスAmazon</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Flittlewing.hatenablog.com%2Fentry%2F2018%2F09%2F16%2F144750&quot; title=&quot;Unityで4つの点から球の中心と半径を求める（内包or面する場合） - littlewing&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/p/pigshape/20180916/20180916143921.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-09-16 14:47:50</published>
  <title>Unityで4つの点から球の中心と半径を求める（内包or面する場合）</title>
  <type>rich</type>
  <url>https://littlewing.hatenablog.com/entry/2018/09/16/144750</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
