
##################
intersect3d2Planes
##################

.. js:function:: intersect3d2Planes

   .. rst-class:: sig-pretty-signature
   
      | intersect3d2Planes(**plane1**\ : :js:class:`~Plane`\ , **pointOnPlane1**\ : :js:class:`~Point3`\ , **plane2**\ : :js:class:`~Plane`\ , **pointOnPlane2**\ : :js:class:`~Point3`\ , **out_lineBegin**\ : :js:class:`~Point3`\ , **out_lineEnd**\ : :js:class:`~Point3`\ ): (*0* \| *1* \| *2*\ )
   
   Computes the intersection of two planes.
   
   **Parameters**
   
      **plane1**\ : :js:class:`~Plane`
   
         The first plane.
   
   
      **pointOnPlane1**\ : :js:class:`~Point3`
   
         A point on the first plane.
   
   
      **plane2**\ : :js:class:`~Plane`
   
         The second plane.
   
   
      **pointOnPlane2**\ : :js:class:`~Point3`
   
         A point on the second plane.
   
   
      **out_lineBegin**\ : :js:class:`~Point3`
   
         Out parameter for resulting intersection line (if any).
   
   
      **out_lineEnd**\ : :js:class:`~Point3`
   
         Out parameter for resulting intersection line (if any).
   
   
   
   **Returns**\ : (*0* \| *1* \| *2*\ )
   
      ``0`` if the planes are disjoint. ``1`` if the planes coincide. ``2`` if the planes intersect in a line.
   
   




