title: How to determine a point is inside or outside a cube?
body: <p>Given a cube with 8 vertex in 3D space. How could I determine the <code>myPoint</code> is inside or outside the cube?</p>
  
  <pre><code>cube[0] = (x0, y0, z0);
  cube[1] = (x1, y1, z1);
  cube[2] = (x2, y2, z2);
  cube[3] = (x3, y3, z3);
  cube[4] = (x4, y4, z4);
  cube[5] = (x5, y5, z5);
  cube[6] = (x6, y6, z6);
  cube[7] = (x7, y7, z7);
  
  myPoint = (x, y, z);
  </code></pre>
  
  <p>I am trying to implement this <a href="http://mindthenerd.blogspot.kr/2012/05/fastest-convex-hull-algorithm-ever.html" rel="noreferrer">data filter technique</a> in 3D</p>