Overview


Part 1

Part 2

  1. Generate a bounding box containing all the points given
  2. Check if it meets the requirements to be a leaf node, if so make it a leaf node and return
  3. If not, find the axis with the largest extent (vertical and horizontal) and split it around the center-most point along that axis.

Part 3


Part 4

Part 5