code: def polygon_area(x, y):
      correction = x[-1] * y[0] - y[-1] * x[0]
      main_area = np.dot(x[:-1], y[1:]) - np.dot(y[:-1], x[1:])
      return 0.5 * np.abs(main_area + correction)
  
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 10 for calling a global function with example usage: polygon_area(x, y) and returns: unknown