title: X3DOM Remove a clip plane
body: <p>I am working on the html 3D viewer X3DOM and especially on using "clip planes" as shown in this example:
  <a href="https://examples.x3dom.org/clipPlane/clipplane.html" rel="nofollow noreferrer">https://examples.x3dom.org/clipPlane/clipplane.html</a></p>
  
  <p>My question: How to remove an object created with javascript?</p>
  
  <p>In this example, the object "ClipPlane" is created with this function:</p>
  
  <pre><code>function addClipPlane()
          {
              addMenu();
              clipPlanes.push( new ClipPlane(clipScope, scene, runtime) );
          }
  </code></pre>
  
  <p>I can't reach to obtain each ClipPlane element and to remove them. Do you know how should I do this?</p>