code: def _intersect(plane, prev_point, current_point, axis):
      """Computes the intersection of a line with an axis-aligned plane.
  
      Args:
          plane: formulated as two 3D points on the plane
          prev_point: the point on the edge of the line
          current_point: the other end of the line
          axis: a tuple defining a 2D axis
  
      Returns:
          A 3D point intersection of the poly edge with the plane
      """
      alpha = (current_point[axis] - plane[axis]) / (
          current_point[axis] - prev_point[axis]
      )
  
      # Compute the intersecting points using linear interpolation
      return alpha * prev_point + (1.0 - alpha) * current_point
  
imports: import itertools
  import logging
  import warnings
  import numpy
  import scipy.spatial
  import eta.core.numutils
  import fiftyone.core.fields
  import fiftyone.core.labels
  import fiftyone.core.media
  from fiftyone.core.sample import Sample
  import fiftyone.core.utils
  import fiftyone.core.validation
  from fiftyone.core.odm import DynamicEmbeddedDocument
  import fiftyone.utils.image
label_desc: Use image node_id 6 for calling a global function with example usage: _intersect(plane, prev_point, current_point, axis) and returns: unknown