code: def intersection_area_noscipy(p1, p2):
      """Compute area of two convex hull's intersection area.
      p1,p2 are a list of (x,y) tuples of hull vertices.
      return intersection volume
      """
      assert len(p1[0]) == 2 and len(p2[0]) == 2
      inter_p = polygon_clip(p1, p2)
      if inter_p is not None:
          hull_inter = np.asarray(convex_hull_graham(inter_p))
          area = polygon_area(hull_inter[:, 0], hull_inter[:, 1])
          return area
      else:
          return 0.0
  
file_path: torch-points3d/torch_points3d/utils/box_utils.py
imports: import torch
  import numpy
  from scipy.spatial import ConvexHull
  from .geometry import euler_angles_to_rotation_matrix
label_desc: Use image node_id 7 for calling a global function with example usage: intersection_area_noscipy(p1, p2) and returns: area, int