class_docstr: A geometry type composed of one or more line segments.
  
  A LineString is a one-dimensional feature and has a non-zero length but
  zero area. It may approximate a curve and need not be straight. Unlike a
  LinearRing, a LineString is not closed.
  
  Parameters
  ----------
  coordinates : sequence
      A sequence of (x, y, [,z]) numeric coordinate pairs or triples, or
      an array-like with shape (N, 2) or (N, 3).
      Also can be a sequence of Point objects.
  
  Examples
  --------
  Create a LineString with two segments
  
  >>> a = LineString([[0, 0], [1, 0], [1, 1]])
  >>> a.length
  2.0
docstr: Separate arrays of X and Y coordinate values
  
  Example:
  
    >>> x, y = LineString([(0, 0), (1, 1)]).xy
    >>> list(x)
    [0.0, 1.0]
    >>> list(y)
    [0.0, 1.0]
code: def xy(self):
      """Separate arrays of X and Y coordinate values
  
      Example:
  
        >>> x, y = LineString([(0, 0), (1, 1)]).xy
        >>> list(x)
        [0.0, 1.0]
        >>> list(y)
        [0.0, 1.0]
      """
      return self.coords.xy
  
file_path: shapely/shapely/geometry/linestring.py
imports: import numpy
  import shapely
  from shapely.geometry.base import BaseGeometry, JOIN_STYLE
  from shapely.geometry.point import Point
label_desc: Use image node_id 4 for calling the LineString obj's underlying member method code with example usage: obj.xy() and returns: self