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: Alternative method to :meth:`offset_curve` method.
  
  Older alternative method to the :meth:`offset_curve` method, but uses
  ``resolution`` instead of ``quad_segs`` and a ``side`` keyword
  ('left' or 'right') instead of sign of the distance. This method is
  kept for backwards compatibility for now, but is is recommended to
  use :meth:`offset_curve` instead.
code: def parallel_offset(
      self,
      distance,
      side="right",
      resolution=16,
      join_style=JOIN_STYLE.round,
      mitre_limit=5.0,
  ):
      """
      Alternative method to :meth:`offset_curve` method.
  
      Older alternative method to the :meth:`offset_curve` method, but uses
      ``resolution`` instead of ``quad_segs`` and a ``side`` keyword
      ('left' or 'right') instead of sign of the distance. This method is
      kept for backwards compatibility for now, but is is recommended to
      use :meth:`offset_curve` instead.
      """
      if side == "right":
          distance *= -1
      return self.offset_curve(
          distance,
          quad_segs=resolution,
          join_style=join_style,
          mitre_limit=mitre_limit,
      )
  
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 6 for calling the LineString obj's underlying member method code with example usage: obj.parallel_offset(distance, side, resolution, join_style, mitre_limit) and returns: self