class_docstr: Base class for binary predicates that are defined in terms of
  the intersection primitive.
class_docstr_tok: ["Base","class","for","binary","predicates","that","are","defined","in","terms","of","the","intersection","primitive","."]
docstr: Convert input lhs and rhs into LineStrings.
  
  The intersection basic predicate requires that the input
  geometries be LineStrings or MultiLineStrings. This function
  converts the input geometries into LineStrings and stores them
  in the PreprocessorResult object that is passed into
  _compute_predicate.
  
  Parameters
  ----------
  lhs : GeoSeries
      The left hand side of the binary predicate.
  rhs : GeoSeries
      The right hand side of the binary predicate.
  
  Returns
  -------
  GeoSeries
      A boolean Series containing the computed result of the
      final binary predicate operation,
docstr_tok: ["Convert","input","lhs","and","rhs","into","LineStrings",".","The","intersection","basic","predicate","requires","that","the","input","geometries","be","LineStrings","or","MultiLineStrings",".","This","function","converts","the","input","geometries","into","LineStrings","and","stores","them","in","the","PreprocessorResult","object","that","is","passed","into","_compute_predicate",".","Parameters","--","--","--","--","--","lhs",":","GeoSeries","The","left","hand","side","of","the","binary","predicate",".","rhs",":","GeoSeries","The","right","hand","side","of","the","binary","predicate",".","Returns","--","--","--","-","GeoSeries","A","boolean","Series","containing","the","computed","result","of","the","final","binary","predicate","operation",","]
code: def _preprocess(self, lhs, rhs):
      """Convert input lhs and rhs into LineStrings.
  
      The intersection basic predicate requires that the input
      geometries be LineStrings or MultiLineStrings. This function
      converts the input geometries into LineStrings and stores them
      in the PreprocessorResult object that is passed into
      _compute_predicate.
  
      Parameters
      ----------
      lhs : GeoSeries
          The left hand side of the binary predicate.
      rhs : GeoSeries
          The right hand side of the binary predicate.
  
      Returns
      -------
      GeoSeries
          A boolean Series containing the computed result of the
          final binary predicate operation,
      """
      return self._compute_predicate(
          lhs, rhs, PreprocessorResult(lhs, rhs)
      )
  
imports: import cupy
  import cudf
  from cuspatial.core.binops.intersection import pairwise_linestring_intersection
  from cuspatial.core.binpreds.basic_predicates import _basic_contains_any, _basic_intersects
  from cuspatial.core.binpreds.binpred_interface import BinPred, IntersectsOpResult, NotImplementedPredicate, PreprocessorResult
  from cuspatial.core.binpreds.feature_equals import EqualsPredicateBase
  from cuspatial.utils.binpred_utils import LineString, MultiPoint, Point, Polygon, _false_series
label_desc: Use image node_id 1 for calling the IntersectsPredicateBase obj's underlying member method code with example usage: obj._preprocess(lhs, rhs) and returns: self