code: def _intersection(L1, L2):
      D = L1[0] * L2[1] - L1[1] * L2[0]
      Dx = L1[2] * L2[1] - L1[1] * L2[2]
      Dy = L1[0] * L2[2] - L1[2] * L2[0]
      if D != 0:
          x = Dx / D
          y = Dy / D
          return np.array([[x, y]])
      else:
          return None
  
file_path: PaddleSeg/EISeg/eiseg/util/regularization/rs_regularization.py
imports: import math
  import cv2
  import numpy
  from .utils import calc_distance
label_desc: Use image node_id 10 for calling a global function with example usage: _intersection(L1, L2) and returns: np, None