original_docstring: Tests whether two line segments intersect.
  
      Points are represented as (x, y, z) triples.
  
      Args:
          line1_pt1: First point defining the first line segment.
          line1_pt2: Second point defining the first line segment.
          line2_pt1: First point defining the second line segment.
          line2_pt2: Second point defining the second line segment.
  
      Returns:
          True if the segments intersect, else False.
      
docstring: Tests whether two line segments intersect.
  Points are represented as (x, y, z) triples.
docstring_tokens: Tests whether two line segments intersect . Points are represented as ( x y z ) triples .
code: def lines_intersect_2d(line1_pt1, line1_pt2, line2_pt1, line2_pt2):
      """Tests whether two line segments intersect.
  
      Points are represented as (x, y, z) triples.
  
      Args:
          line1_pt1: First point defining the first line segment.
          line1_pt2: Second point defining the first line segment.
          line2_pt1: First point defining the second line segment.
          line2_pt2: Second point defining the second line segment.
  
      Returns:
          True if the segments intersect, else False.
      """
      return geometry.gmLinesIntersect(line1_pt1, line1_pt2, line2_pt1, line2_pt2)
code_tokens: def lines_intersect_2d ( line1_pt1 , line1_pt2 , line2_pt1 , line2_pt2 ) : return geometry . gmLinesIntersect ( line1_pt1 , line1_pt2 , line2_pt1 , line2_pt2 )
short_docstring: Tests whether two line segments intersect.
short_docstring_tokens: Tests whether two line segments intersect .
comment: """Tests whether two line segments intersect.
  
      Points are represented as (x, y, z) triples.
  
      Args:
          line1_pt1: First point defining the first line segment.
          line1_pt2: Second point defining the first line segment.
          line2_pt1: First point defining the second line segment.
          line2_pt2: Second point defining the second line segment.
  
      Returns:
          True if the segments intersect, else False.
      """