QuadTree<T> constructor

QuadTree<T>(
  1. num left,
  2. num top,
  3. num width,
  4. num height, {
  5. int? maxDepth,
  6. int? maxItems,
})

Implementation

factory QuadTree(
  num left,
  num top,
  num width,
  num height, {
  int? maxDepth,
  int? maxItems,
}) =>
    QuadTree._(
      left,
      top,
      width,
      height,
      0,
      maxDepth: maxDepth,
      maxItems: maxItems,
    );