Function drawQTree2d

  • 绘制四叉树

    Parameters

    • canvas: HTMLCanvasElement
    • rect: Rect
    • QTree: QTNode
    • grid: Grid
    • colorBand: ((statistics, value) => string) = simpleColorBand
        • (statistics, value): string
        • Parameters

          • statistics: {
                max: number;
                mean: number;
                min: number;
            }
            • max: number
            • mean: number
            • min: number
          • value: number

          Returns string

    • Optional value: number
    • Optional statistics: {
          max: number;
          mean: number;
          min: number;
      }
      • max: number
      • mean: number
      • min: number

    Returns void

Generated using TypeDoc