docstr: Returns 3D bounding box for a vehicle.
docstr_tok: ["Returns","3D","bounding","box","for","a","vehicle","."]
code: def _create_bb_points(vehicle):
      """
      Returns 3D bounding box for a vehicle.
      """
  
      cords = np.zeros((8, 4))
      extent = vehicle.bounding_box.extent
      cords[0, :] = np.array([extent.x, extent.y, -extent.z, 1])
      cords[1, :] = np.array([-extent.x, extent.y, -extent.z, 1])
      cords[2, :] = np.array([-extent.x, -extent.y, -extent.z, 1])
      cords[3, :] = np.array([extent.x, -extent.y, -extent.z, 1])
      cords[4, :] = np.array([extent.x, extent.y, extent.z, 1])
      cords[5, :] = np.array([-extent.x, extent.y, extent.z, 1])
      cords[6, :] = np.array([-extent.x, -extent.y, extent.z, 1])
      cords[7, :] = np.array([extent.x, -extent.y, extent.z, 1])
      return cords
  
imports: import glob
  import os
  import sys
  from enum import Enum
  import math
  import numpy
  import pygame
  import weakref
  import carla
  from carla import ad
label_desc: Use image node_id 7 for calling the RssBoundingBoxVisualizer obj's underlying member method code with example usage: obj._create_bb_points(vehicle) and returns: cords