
################
distanceLineLine
################

.. js:function:: common.distanceLineLine

   .. rst-class:: sig-pretty-signature
   
      | distanceLineLine(**line1Begin**\ : :js:class:`Point3 <common.Point3>`\ , **line1End**\ : :js:class:`Point3 <common.Point3>`\ , **line2Begin**\ : :js:class:`Point3 <common.Point3>`\ , **line2End**\ : :js:class:`Point3 <common.Point3>`\ , **out_closestPointLine1**\ : :js:class:`Point3 <common.Point3>`\ , **out_closestPointLine2**\ : :js:class:`Point3 <common.Point3>`\ ): *number*
   
   Returns the distance between two line segments.
   
   **Parameters**
   
   
      **line1Begin**\ : :js:class:`Point3 <common.Point3>`
   
   
         The start of the first line segment.
   
   
      **line1End**\ : :js:class:`Point3 <common.Point3>`
   
   
         The end of the first line segment.
   
   
      **line2Begin**\ : :js:class:`Point3 <common.Point3>`
   
   
         The start of the second line segment.
   
   
      **line2End**\ : :js:class:`Point3 <common.Point3>`
   
   
         The end of the second line segment.
   
   
      **out_closestPointLine1**\ : :js:class:`Point3 <common.Point3>`
   
   
         Out parameter for the closest point of line1 to line2.
   
   
      **out_closestPointLine2**\ : :js:class:`Point3 <common.Point3>`
   
   
         Out parameter for the closest point of line2 to line1.
   
   
   
   **Returns**\ : *number*
   
   
      The distance between the two input line segments.
   
   




