Interface QuadtreeFactory

Index

Call signatures

Properties

Methods

Call signatures

(): Quadtree

Constructs a new quadtree for the specified array of points.

Returns

Quadtree

(points: Point[], x1: number, y1: number, x2: number, y2: number): Quadtree

Constructs a new quadtree for the specified array of points.

Parameters

  • points: Point[]
  • x1: number
  • y1: number
  • x2: number
  • y2: number

Returns

Quadtree

(points: Point[], width: number, height: number): Quadtree

Constructs a new quadtree for the specified array of points.

Parameters

  • points: Point[]
  • width: number
  • height: number

Returns

Quadtree

Properties

public x: { (): (d: any) => any; (accesor: (d: any) => any): D3.Geom.QuadtreeFactory; }

(): (d: any) => any

Returns

(d: any) => any

(): QuadtreeFactory

Returns

QuadtreeFactory

public y: { (): (d: any) => any; (accesor: (d: any) => any): D3.Geom.QuadtreeFactory; }

(): (d: any) => any

Returns

(d: any) => any

(): QuadtreeFactory

Returns

QuadtreeFactory

Methods

public extent(): Array<number[]>

Returns

Array<number[]>

public extent(points: Array<number[]>): QuadtreeFactory

Parameters

  • points: Array<number[]>

Returns

QuadtreeFactory

public size(): Array<number>

Returns

Array<number>

public size(size: Array<number>): QuadtreeFactory

Parameters

  • size: Array<number>

Returns

QuadtreeFactory