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: Naively computes the indices of matches by constructing
  a set of lengths from the returned offsets buffer, then
  returns an integer index for all of the offset sizes that
  are larger than 0.
docstr_tok: ["Naively","computes","the","indices","of","matches","by","constructing","a","set","of","lengths","from","the","returned","offsets","buffer",",","then","returns","an","integer","index","for","all","of","the","offset","sizes","that","are","larger","than","0","."]
code: def _get_intersecting_geometry_indices(self, lhs, op_result):
      """Naively computes the indices of matches by constructing
      a set of lengths from the returned offsets buffer, then
      returns an integer index for all of the offset sizes that
      are larger than 0."""
      is_offsets = cudf.Series(op_result.result[0])
      is_sizes = is_offsets[1:].reset_index(drop=True) - is_offsets[
          :-1
      ].reset_index(drop=True)
      return cp.arange(len(lhs))[is_sizes > 0]
  
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 3 for calling the IntersectsPredicateBase obj's underlying member method code with example usage: obj._get_intersecting_geometry_indices(lhs, op_result) and returns: cp