title: three.js - Get all objects(meshes) in the area (3d cube)
body: <p>I have a system of tubes. More precisely, I create a tubes from this code</p>
  
  <p><i><strong>tube_color</strong> - obviously, color of tube,</i><br>
  <i><strong>spline_points</strong> - huge number of THREE.Vector3 objects,</i><br>
  <i><strong>segments</strong>, <strong>radiusSegments</strong> are just numbers</i></p>
  
  <pre><code>    var material = new THREE.MeshLambertMaterial( { color: tube_color, shading: THREE.SmoothShading } );
      var spline = new THREE.SplineCurve3(spline_points);
      var tube = new THREE.TubeGeometry(spline, segments, 10, radiusSegments, false, false);
      var tubeMesh = new THREE.Mesh(tube, material);
      scene.add(tubeMesh);
  </code></pre>
  
  <p>This code creates one particular mesh object in space. For each mesh I can have an array of Vector3's by using <i>myMesh</i>.geometry.vertices.<br>
  <strong>The problem is</strong>: I have the point in 3d space. Around this point I create Cube, which <i>does</i> intersect with tubes. For example, this cube can be created like this</p>
  
  <pre><code>    var cube = new THREE.CubeGeometry(xSize,ySize,zSize, 5, 5, 5);
      var material = new THREE.MeshBasicMaterial({
          color: 0xff0000,
          opacity: 1,
          wireframe: true,
          transparent: false
      });
      var selectionMesh = new THREE.Mesh(cube, material);
      scene.add(selectionMesh);
  </code></pre>
  
  <p><b>Is it possible at least to find objects(meshes) that have intersection with by cubic area?</b> I know that in <strong>scene</strong> object I have all meshes, and I can iterate over them, get vertices, iterate over them with a condition if there is at least one its point is in cubic area. <strike>But I believe</strike>... I hope there is a method/algorithm<strike>/magic</strike> much more simple then this...</p>